Summary of an evaluation run.
More...
#include <EvaluateResult.hpp>
Summary of an evaluation run.
Contains data dimensions, aggregated timing/error metrics, and optional memory usage. Produced by ModelStats::summarize() on the evaluate side, and deserialized from JSON on the benchmark side.
◆ EvaluateResult() [1/2]
| ppforest2::io::EvaluateResult::EvaluateResult |
( |
| ) |
|
|
default |
◆ EvaluateResult() [2/2]
| ppforest2::io::EvaluateResult::EvaluateResult |
( |
nlohmann::json const & | j | ) |
|
|
explicit |
◆ to_json()
| nlohmann::json ppforest2::io::EvaluateResult::to_json |
( |
| ) |
const |
◆ data_path
| std::string ppforest2::io::EvaluateResult::data_path |
Data source path (empty for simulated data).
| int ppforest2::io::EvaluateResult::g = 0 |
Number of groups (0 for regression).
◆ mean_te_error
| double ppforest2::io::EvaluateResult::mean_te_error = 0 |
◆ mean_time_ms
| double ppforest2::io::EvaluateResult::mean_time_ms = 0 |
◆ mean_tr_error
| double ppforest2::io::EvaluateResult::mean_tr_error = 0 |
◆ mode
| int ppforest2::io::EvaluateResult::n = 0 |
◆ n_vars
| std::optional<int> ppforest2::io::EvaluateResult::n_vars |
Variable count (integer mode).
| int ppforest2::io::EvaluateResult::p = 0 |
◆ p_vars
| std::optional<float> ppforest2::io::EvaluateResult::p_vars |
◆ peak_rss_bytes
| std::optional<long> ppforest2::io::EvaluateResult::peak_rss_bytes |
◆ peak_rss_mb
| std::optional<double> ppforest2::io::EvaluateResult::peak_rss_mb |
◆ runs
| int ppforest2::io::EvaluateResult::runs = 0 |
◆ size
| int ppforest2::io::EvaluateResult::size = 0 |
Forest size (number of trees).
◆ std_time_ms
| double ppforest2::io::EvaluateResult::std_time_ms = 0 |
◆ train_ratio
| float ppforest2::io::EvaluateResult::train_ratio = 0.7F |
The documentation for this struct was generated from the following file: