MlbendReport.weighted_of: def of mlbend-report@0.1.0.0 Import: import mlbend-report@0.1.0.0/main.bend as MlbendReport Lines 228-232 of mlbend-report@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-report@0.1.0.0/main.bend&start_line=228&end_line=232 import Base # The weighted average: the per-class scores, each weighed by its # support, over the total support, the way scikit-learn's weighted # average does. def weighted_of(classes: List<&2, Cls>, +total: Nat) -> Cls: weighted_of.go(weighted_sums(classes, 0.0, 0.0, 0.0), total) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=mlbend-report@0.1.0.0/main.bend&name=Cls https://jend.leeeet.dev/definition.txt?path=mlbend-report@0.1.0.0/main.bend&name=weighted_of.go https://jend.leeeet.dev/definition.txt?path=mlbend-report@0.1.0.0/main.bend&name=weighted_sums