Skip to content

Commit 1d675b3

Browse files
authored
Merge pull request #7 from JuliaAI/dev
Doc improvement. No new release
2 parents e3c1637 + c29c3b7 commit 1d675b3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ y = [1 2 3; 2 4 6]
4343
= [2 3 4; 4 6 8]
4444

4545
julia> multitarget_L1(ŷ, y, weights)
46-
10.5
46+
39
4747
```
4848

4949
```julia
@@ -52,18 +52,17 @@ t = y' |> Tables.table |> Tables.rowtable
5252
=' |> Tables.table |> Tables.rowtable
5353

5454
julia> multitarget_L1(t̂, t, weights)
55-
10.5
55+
39
5656
```
5757

58-
Access per-observation measurements with the measurement method:
58+
Access per-observation measurements with the `measurement` method:
5959

6060
```julia
6161
julia> measurements(multitarget_L1, t̂, t, weights)
62-
63-
3-element Vector{Float64}:
64-
12.0
65-
10.5
66-
9.0
62+
3-element Vector{Int64}:
63+
3
64+
9
65+
27
6766
```
6867

6968
See [here](https://juliaai.github.io/StatisticalMeasuresBase.jl/dev/) for in-depth

docs/src/methods.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
| [`measurements`](@ref) | for returning individual per-observation measurements |
66
| [`aggregate`](@ref) | multipurpose measurement aggregation |
77

8-
The [`aggregate`](@ref) method takes an optional aggregation `mode` argument, with default
9-
`Mean()`, whose possible values are explained below.
8+
The [`aggregate`](@ref) method and [`multimeasure`](@ref) wrapper take an optional
9+
aggregation `mode` argument, with default `Mean()`, whose possible values are explained
10+
below.
1011

1112
```@docs
1213
StatisticalMeasuresBase.AggregationMode

0 commit comments

Comments
 (0)