1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//! //! # Decision tree learning //! `linfa-trees` aims to provide pure rust implementations //! of decison trees learning algorithms. //! //! # The big picture //! //! `linfa-trees` is a crate in the [linfa](https://github.com/rust-ml/linfa) ecosystem, //! an effort to create a toolkit for classical Machine Learning implemented in pure Rust, akin to Python's scikit-learn. //! //! Decision Trees (DTs) are a non-parametric supervised learning method used for classification and regression. //! The goal is to create a model that predicts the value of a target variable by learning simple decision rules //! inferred from the data features. //! //! # Current state //! //! `linfa-trees` currently provides an [implementation](struct.DecisionTree.html) of single-tree fitting for classification. //! mod decision_trees; pub use decision_trees::*; pub use linfa::error::Result;