def macro_of

mlbend-report@0.1.0.0 · main.bend:206

import mlbend-report@0.1.0.0/main.bend as MlbendReport
import Base

206# The macro average: the mean of the per-class scores, every class
207# weighing the same, the way scikit-learn's macro average does.
208def macro_of(classes: List<&2, Cls>, +k: Nat) -> Cls:
209  macro_of.go(tot_of(classes), k)

Uses (5)

Used by (1)