Decision Tree Engine
Train, predict, prune, and export decision trees. Pure Rust via nexcore-dtree.
5 toolsdtree
Train
Train a decision tree classifier from labeled data. Returns the fitted tree as JSON for use with predict/prune/export. U
featureslabels
Predict
Run prediction on a fitted decision tree. Pass the tree_json from train and a feature vector. Use when classifying new d
tree_jsonfeatures
Feature Importance
Get feature importance scores from a fitted tree. Returns weighted impurity decrease per feature. Use when understanding
tree_json
Prune
Cost-complexity prune a fitted tree. Reduces overfitting by removing low-value splits. Use when a tree is too deep or co
tree_json
Info
Get summary statistics for a fitted tree without modifying it. Use when inspecting tree structure.
tree_json