Liking cljdoc? Tell your friends :D

trees.regression


create-leafclj

(create-leaf mean 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 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 min-count current-depth max_depth)

log-messageclj

(log-message target-values current-depth)

predictclj

(predict 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

pure?clj

(pure? response-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