|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
#include "utils/Types.hpp"#include "utils/Invariant.hpp"#include <set>#include <stdexcept>#include <pcg_random.hpp>Go to the source code of this file.
Namespaces | |
| namespace | ppforest2 |
| namespace | ppforest2::stats |
| Statistical infrastructure for training and evaluation. | |
Typedefs | |
| using | ppforest2::stats::RNG = pcg32 |
Functions | |
| float | ppforest2::stats::accuracy (types::ResponseVector const &predictions, types::ResponseVector const &actual) |
| Accuracy of a prediction. | |
| double | ppforest2::stats::error_rate (types::ResponseVector const &predictions, types::ResponseVector const &actual) |
| Error rate of a prediction. | |
| types::FeatureVector | ppforest2::stats::sd (types::FeatureMatrix const &data) |
| Column-wise sample standard deviation of a matrix. | |
| double | ppforest2::stats::sd (types::FeatureVector const &data) |
| Sample standard deviation of a vector. | |
| void | ppforest2::stats::sort (types::FeatureMatrix &x, types::ResponseVector &y) |
| Sort a feature matrix and a response vector by the response values. | |
| std::set< types::Response > | ppforest2::stats::unique (types::ResponseVector const &column) |
| Unique values of a response vector. | |