|
| json | ppforest2::serialization::to_json (types::OutcomeVector const &y, types::Names const &names) |
| | Serialize a prediction vector as JSON.
|
| |
|
| json | ppforest2::serialization::to_json (BaggedTree const &tree) |
| |
| json | ppforest2::serialization::to_json (Forest const &forest) |
| |
| json | ppforest2::serialization::to_json (Metrics const &metrics) |
| |
| json | ppforest2::serialization::to_json (Model const &model) |
| |
| json | ppforest2::serialization::to_json (stats::ClassificationMetrics const &cm) |
| |
| json | ppforest2::serialization::to_json (stats::ConfusionMatrix const &cm) |
| |
| json | ppforest2::serialization::to_json (stats::RegressionMetrics const &rm) |
| |
| json | ppforest2::serialization::to_json (Tree const &tree) |
| |
| json | ppforest2::serialization::to_json (TreeNode const &node) |
| |
| json | ppforest2::serialization::to_json (types::FeatureMatrix const &matrix) |
| |
| json | ppforest2::serialization::to_json (VariableImportance const &vi) |
| |
|
| json | ppforest2::serialization::to_json (BaggedTree const &tree, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (Forest const &forest, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (Metrics const &metrics, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (Model const &model, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (stats::ClassificationMetrics const &cm, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (stats::ConfusionMatrix const &cm, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (stats::RegressionMetrics const &rm, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (Tree const &tree, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (TreeNode const &node, Names const &group_names) |
| |
|
| json | ppforest2::serialization::to_json (std::optional< Metrics > const &metrics) |
| |
| json | ppforest2::serialization::to_json (std::optional< Metrics > const &metrics, Names const &group_names) |
| |
| json | ppforest2::serialization::to_json (std::optional< VariableImportance > const &vi) |
| |
|
| template<typename T> |
| T | ppforest2::serialization::from_json (json const &j) |
| | Deserialize a value block (confusion matrix, VI, metrics, …).
|
| |
| template<> |
| stats::ClassificationMetrics | ppforest2::serialization::from_json< stats::ClassificationMetrics > (json const &j) |
| |
| template<> |
| stats::ConfusionMatrix | ppforest2::serialization::from_json< stats::ConfusionMatrix > (json const &j) |
| |
| template<> |
| stats::RegressionMetrics | ppforest2::serialization::from_json< stats::RegressionMetrics > (json const &j) |
| |
| template<> |
| VariableImportance | ppforest2::serialization::from_json< VariableImportance > (json const &j) |
| |
| Metrics | ppforest2::serialization::metrics_from_json (json const &j, types::Mode mode) |
| | Deserialize a Metrics block; mode picks the variant alternative.
|
| |
|
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &os, Forest const &forest) |
| |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &os, Tree const &tree) |
| |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &os, TreeBranch const &condition) |
| |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &os, TreeLeaf const &response) |
| |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &os, TreeNode const &node) |
| |
| template<typename V> |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &ostream, std::map< int, V > const &map) |
| |
| template<typename K, typename V> |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &ostream, std::map< K, V > const &map) |
| |
| template<typename V, typename C1, typename C2> |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &ostream, std::set< V, C1, C2 > const &set) |
| |
| template<typename V> |
| std::ostream & | ppforest2::serialization::operator<< (std::ostream &ostream, std::vector< V > const &vec) |
| |