@@ -47,16 +47,16 @@ multitarget_L1(ŷ, y, weights)
4747```
4848
4949``` @example 01
50- using Tables
51- t = y' |> Tables.table |> Tables.rowtable
52- t̂ = ŷ' |> Tables.table |> Tables.rowtable
53- multitarget_L1(t̂, t , weights)
50+ using DataFrames
51+ df = DataFrame(y', :auto)
52+ df̂ = DataFrame( ŷ', :auto)
53+ multitarget_L1(df̂, df , weights)
5454```
5555
56- Generate measurements * for each observation* with the ` measurement ` method:
56+ Generate measurements * for each observation* with the ` measurements ` method:
5757
5858``` @example 01
59- measurements(multitarget_L1, t̂, t , weights)
59+ measurements(multitarget_L1, df̂, df , weights)
6060```
6161
6262# Overview
@@ -69,7 +69,7 @@ measures. For a package that does, based on this interface, see
6969can also be applied to measures provided by other packages, such as
7070[ LossFunctions.jl] ( https://github.com/JuliaML/LossFunctions.jl ) .
7171
72- Specically , this package provides:
72+ Specifically , this package provides:
7373
7474- A measure wrapper [ ` multimeasure ` ] ( @ref ) that leverages MLUtils.jl to broadcast a simple
7575 measure over multiple observations; the main use case is for extending a measure (e.g.,
0 commit comments