ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
Presentation.hpp File Reference

Model statistics, variable importance serialization, and formatted terminal display for confusion matrices and VI tables. More...

#include "io/Color.hpp"
#include "io/Output.hpp"
#include "models/VariableImportance.hpp"
#include "stats/ConfusionMatrix.hpp"
#include "stats/Stats.hpp"
#include "utils/Types.hpp"
#include <nlohmann/json.hpp>

Go to the source code of this file.

Classes

struct  ppforest2::io::ConfigDisplayHints
 Optional display hints for print_configuration. More...
 
struct  ppforest2::io::ModelStats
 Aggregated statistics across multiple training iterations. More...
 

Namespaces

namespace  ppforest2
 
namespace  ppforest2::io
 

Functions

void ppforest2::io::print_configuration (Output &out, nlohmann::json const &config, ConfigDisplayHints const &hints={})
 Print model configuration table from a JSON config object.
 
void ppforest2::io::print_confusion_matrix (Output &out, stats::ConfusionMatrix const &cm, std::string const &title="Confusion Matrix", std::vector< std::string > const &group_names={})
 Print a formatted confusion matrix to stdout.
 
void ppforest2::io::print_data_summary (Output &out, nlohmann::json const &meta)
 Print a data summary table from a JSON meta object.
 
void ppforest2::io::print_results (Output &out, ModelStats const &stats)
 Print evaluation results (timing, errors, memory) to stdout.
 
void ppforest2::io::print_summary (Output &out, nlohmann::json const &model_data, ConfigDisplayHints const &hints={})
 Display a full model summary from its JSON representation.
 
void ppforest2::io::print_variable_importance (Output &out, VariableImportance const &vi, std::vector< std::string > const &feature_names={}, int max_rows=20)
 Print a ranked variable importance table to stdout.
 

Detailed Description

Model statistics, variable importance serialization, and formatted terminal display for confusion matrices and VI tables.