def macro_of
import mlbend-report@0.1.0.0/main.bend as MlbendReportimport 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)