MlbendPreprocess.one_hot_count_length: law of mlbend-preprocess@0.1.0.0 Import: import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess Lines 29-33 of mlbend-preprocess@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-preprocess@0.1.0.0/main.bend&start_line=29&end_line=33 import Base # LAW (one_hot_count_length): the one-hot matrix has one row for every # label. law one_hot_count_length: for ys: List<&2, Nat> {one_hot_count_of(ys) == List.length(&2, Nat, ys) : Nat} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=mlbend-preprocess@0.1.0.0/main.bend&name=one_hot_count_of