(node-misclassified class-counts)
Sums the counts of non-majority classes within a node
Sums the counts of non-majority classes within a node
(node-ssd Rt left-ys right-ys)
(resubstitution-error class-counts)
(split-quality impurity-measure
root-impurity
left-proportion
left-class-counts
right-proportion
right-class-counts)
(subtree-resubstitution-error subtree total)
(sum-of-squared-deviations ys yhats)
Computes sum( (yi - yhati)^2 for yi in ys, yhati in yhats)
Computes sum( (yi - yhati)^2 for yi in ys, yhati in yhats)
(sum-of-squared-deviations* ys yhat)
Computes sum( (yi - yhat)^2 for yi in ys)
Computes sum( (yi - yhat)^2 for yi in ys)
(tree-complexity tree)
A tree's complexity is defined as the number of its terminal nodes
A tree's complexity is defined as the number of its terminal nodes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close