ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::io::ModelStats Struct Reference

Aggregated statistics across multiple training iterations. More...

#include <Presentation.hpp>

Public Member Functions

double mean_te_error () const
 
double mean_time () const
 
double mean_tr_error () const
 
double std_te_error () const
 
double std_time () const
 
double std_tr_error () const
 
nlohmann::json to_json () const
 Serialize to JSON including per-iteration breakdown.
 

Public Attributes

long peak_rss_bytes = -1
 
types::Vector< float > te_error
 
types::Vector< float > tr_error
 
types::Vector< float > tr_times
 

Detailed Description

Aggregated statistics across multiple training iterations.

Stores per-iteration timing and error data, plus the process-wide peak RSS. Provides mean/std accessors and JSON serialization (including a per-iteration breakdown).

Member Function Documentation

◆ mean_te_error()

double ppforest2::io::ModelStats::mean_te_error ( ) const
inline

◆ mean_time()

double ppforest2::io::ModelStats::mean_time ( ) const
inline

◆ mean_tr_error()

double ppforest2::io::ModelStats::mean_tr_error ( ) const
inline

◆ std_te_error()

double ppforest2::io::ModelStats::std_te_error ( ) const
inline

◆ std_time()

double ppforest2::io::ModelStats::std_time ( ) const
inline

◆ std_tr_error()

double ppforest2::io::ModelStats::std_tr_error ( ) const
inline

◆ to_json()

nlohmann::json ppforest2::io::ModelStats::to_json ( ) const

Serialize to JSON including per-iteration breakdown.

Member Data Documentation

◆ peak_rss_bytes

long ppforest2::io::ModelStats::peak_rss_bytes = -1

◆ te_error

types::Vector<float> ppforest2::io::ModelStats::te_error

◆ tr_error

types::Vector<float> ppforest2::io::ModelStats::tr_error

◆ tr_times

types::Vector<float> ppforest2::io::ModelStats::tr_times

The documentation for this struct was generated from the following file: