MlbendReport.matrix: def of mlbend-report@0.1.0.0 Import: import mlbend-report@0.1.0.0/main.bend as MlbendReport Lines 95-99 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=95&end_line=99 import Base # The confusion matrix of k classes: k rows of k cells, the row of the # class 0 first. def matrix(ys: List<&2, Nat>, ps: List<&2, Nat>, +k: Nat) -> List<&2, List<&2, Nat>>: matrix_from(ys, ps, k, k, 0n) Uses (3): 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=matrix_from