ppforest2 v0.1.3
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::cli::serve::LoadedModel Struct Reference

Immutable model snapshot captured once at server startup. More...

#include <ServeHandlers.hpp>

Public Attributes

types::Names feature_names
 
types::Names group_names
 
types::Mode mode = types::Mode::Classification
 
Model::Ptr model
 
nlohmann::json model_json
 
int n_features = 0
 Feature count from meta.features — the only shape check available when feature_names is empty (e.g. R-trained models).
 

Detailed Description

Immutable model snapshot captured once at server startup.

Member Data Documentation

◆ feature_names

types::Names ppforest2::cli::serve::LoadedModel::feature_names

◆ group_names

types::Names ppforest2::cli::serve::LoadedModel::group_names

◆ mode

types::Mode ppforest2::cli::serve::LoadedModel::mode = types::Mode::Classification

◆ model

Model::Ptr ppforest2::cli::serve::LoadedModel::model

◆ model_json

nlohmann::json ppforest2::cli::serve::LoadedModel::model_json

◆ n_features

int ppforest2::cli::serve::LoadedModel::n_features = 0

Feature count from meta.features — the only shape check available when feature_names is empty (e.g. R-trained models).


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