(classify tree x)
Given a fully constructed decision tree T and a record X, return the predicted label
Given a fully constructed decision tree T and a record X, return the predicted label
(create-leaf class-counts answer)
Given a mapping from class -> count in node, creates a tree leaf node
Given a mapping from class -> count in node, creates a tree leaf node
(feature-type-predicate value feature-type)
(find-best-splitting-feature data
features
target
impurity-measure
parent-impurity)
Searches across all features to find the one with lowest error
Searches across all features to find the one with lowest error
(learn data features target)
(learn data features target impurity-measure current-depth max_depth)
(log-message target-values current-depth)
(pure? class-counts)
Determines if only a single class is within a node
Determines if only a single class is within a node
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close