Functions§
- build_
labels_ count_ distribution_ matrix - Class counts for every pair of candidates:
matrix[i][j]counts the instances in the right branch of bothcandidates[i]andcandidates[j], andmatrix[i][i]those in the right branch ofcandidates[i]. Every other leaf of a depth-2 tree follows by subtraction. - deduce_
sibling_ error - Class counts of a child’s sibling: the parent’s counts minus the child’s.
- deduce_
sibling_ error_ with_ buffer deduce_sibling_errorwriting intobuffer.- find_
valid_ split_ attributes - The features, among
candidates(all of them whenNone) and other thanprevious, that leave at leastmin_supinstances on each side.