|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Go to the source code of this file.
Classes | |
| class | ppforest2::Model |
| Abstract base class for predictive models (trees and forests). More... | |
| struct | ppforest2::Proportions |
| Tag type for requesting vote-proportion predictions. More... | |
| class | ppforest2::Model::Visitor |
| Visitor interface for model dispatch. More... | |
Namespaces | |
| namespace | ppforest2 |
| Binarization strategies for multiclass-to-binary reduction. | |
Functions | |
| bool | ppforest2::is_classification (Model const &model) |
Whether model was trained for classification. | |
| bool | ppforest2::is_classification (Model const *model) |
Pointer overload — null-safe; returns false for a null model. | |
| bool | ppforest2::is_regression (Model const &model) |
Whether model was trained for regression. | |
| bool | ppforest2::is_regression (Model const *model) |
Pointer overload — null-safe; returns false for a null model. | |
| types::FeatureMatrix | ppforest2::predict_proportions (Model const &model, types::FeatureMatrix const &x) |
| Compute vote proportions for a classification model. | |
| types::FeatureVector | ppforest2::predict_proportions (Model const &model, types::FeatureVector const &x) |
| Single-row vote proportions for a classification model. | |