MlbendSplit.folds: def of mlbend-split@0.1.1.0 Import: import mlbend-split@0.1.1.0/main.bend as MlbendSplit Lines 148-150 of mlbend-split@0.1.1.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-split@0.1.1.0/main.bend&start_line=148&end_line=150 import Base # The fold of every row of the dataset, in the order of the rows. def folds(+labels: List<&2, Nat>, seed: U32, k: Nat) -> List<&2, Nat>: folds_from(labels, class_orders(labels, seed, classes_of(labels)), k, 0n) Uses (6): 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mlbend-split@0.1.1.0/main.bend&name=class_orders https://jend.leeeet.dev/definition.txt?path=mlbend-split@0.1.1.0/main.bend&name=classes_of https://jend.leeeet.dev/definition.txt?path=mlbend-split@0.1.1.0/main.bend&name=folds_from