Liking cljdoc? Tell your friends :D

trees.core


classifyclj

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

create-leafclj

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

feature-type-predicateclj

(feature-type-predicate value feature-type)

find-best-splitting-featureclj

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

learnclj

(learn data features target)
(learn data features target impurity-measure current-depth max_depth)

log-messageclj

(log-message target-values current-depth)

pure?clj

(pure? class-counts)

Determines if only a single class is within a node

Determines if only a single class is within a node
raw docstring

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

× close