Liking cljdoc? Tell your friends :D

trees.measures


accuracyclj

(accuracy truth predictions)

Compute accuracy

Compute accuracy
raw docstring

entropyclj

(entropy class-counts)

AKA information gain

AKA information gain
raw docstring

gini-indexclj

(gini-index class-counts)

AKA gini impurity

AKA gini impurity
raw docstring

meanclj

(mean xs)

Computes mean of sequence

Computes mean of sequence
raw docstring

node-misclassifiedclj

(node-misclassified class-counts)

Sums the counts of non-majority classes within a node

Sums the counts of non-majority classes within a node
raw docstring

node-resubstitution-errorclj

(node-resubstitution-error node total)

R(t)

R(t)
raw docstring

node-ssdclj

(node-ssd Rt left-ys right-ys)

resubstitution-errorclj

(resubstitution-error class-counts)

split-qualityclj

(split-quality impurity-measure
               root-impurity
               left-proportion
               left-class-counts
               right-proportion
               right-class-counts)

subtree-resubstitution-errorclj

(subtree-resubstitution-error subtree total)

sum-of-squared-deviationsclj

(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)
raw docstring

sum-of-squared-deviations*clj

(sum-of-squared-deviations* ys yhat)

Computes sum( (yi - yhat)^2 for yi in ys)

Computes sum( (yi - yhat)^2 for yi in ys)
raw docstring

tree-complexityclj

(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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close