|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Result of running a single benchmark scenario. More...
#include <Benchmark.hpp>
Public Member Functions | |
| ScenarioResult ()=default | |
| ScenarioResult (std::string name, double scenario_time_ms, nlohmann::json const &j) | |
Public Member Functions inherited from ppforest2::io::EvaluateResult | |
| EvaluateResult ()=default | |
| EvaluateResult (nlohmann::json const &j) | |
| nlohmann::json | to_json () const |
Public Attributes | |
| std::string | name |
| double | scenario_time_ms = 0 |
Public Attributes inherited from ppforest2::io::EvaluateResult | |
| std::string | data_path |
| Data source path (empty for simulated data). | |
| int | g = 0 |
| Number of groups (0 for regression). | |
| double | mean_te_error = 0 |
| double | mean_time_ms = 0 |
| double | mean_tr_error = 0 |
| types::Mode | mode = types::Mode::Classification |
| Training mode. | |
| int | n = 0 |
| Number of observations. | |
| std::optional< int > | n_vars |
| Variable count (integer mode). | |
| int | p = 0 |
| Number of features. | |
| std::optional< float > | p_vars |
| Variable proportion. | |
| std::optional< long > | peak_rss_bytes |
| std::optional< double > | peak_rss_mb |
| int | runs = 0 |
| int | size = 0 |
| Forest size (number of trees). | |
| double | std_time_ms = 0 |
| float | train_ratio = 0.7F |
| Train/test split ratio. | |
Result of running a single benchmark scenario.
Inherits evaluate metrics (n, p, g, timing, errors, RSS) from EvaluateResult and adds scenario-specific metadata for reporting.
|
default |
|
inline |
| std::string ppforest2::cli::ScenarioResult::name |
| double ppforest2::cli::ScenarioResult::scenario_time_ms = 0 |