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

Model training parameters shared by train and evaluate. More...

#include <ModelParams.hpp>

Public Attributes

nlohmann::json dr_config
 
std::string dr_input
 
float lambda = 0.5
 
int max_retries = 3
 
int n_vars = -1
 
float p_vars = -1
 
nlohmann::json pp_config
 Strategy JSON objects loaded from config file (pp/dr/sr).
 
std::string pp_input
 Explicit strategy inputs (–pp, –dr, –sr flags).
 
int seed = -1
 
int size = 100
 
nlohmann::json sr_config
 
std::string sr_input
 
int threads = -1
 
bool used_default_seed = false
 
bool used_default_threads = false
 
bool used_default_vars = false
 
std::string vars_input
 

Detailed Description

Model training parameters shared by train and evaluate.

Member Data Documentation

◆ dr_config

nlohmann::json ppforest2::cli::ModelParams::dr_config

◆ dr_input

std::string ppforest2::cli::ModelParams::dr_input

◆ lambda

float ppforest2::cli::ModelParams::lambda = 0.5

◆ max_retries

int ppforest2::cli::ModelParams::max_retries = 3

◆ n_vars

int ppforest2::cli::ModelParams::n_vars = -1

◆ p_vars

float ppforest2::cli::ModelParams::p_vars = -1

◆ pp_config

nlohmann::json ppforest2::cli::ModelParams::pp_config

Strategy JSON objects loaded from config file (pp/dr/sr).

◆ pp_input

std::string ppforest2::cli::ModelParams::pp_input

Explicit strategy inputs (–pp, –dr, –sr flags).

◆ seed

int ppforest2::cli::ModelParams::seed = -1

◆ size

int ppforest2::cli::ModelParams::size = 100

◆ sr_config

nlohmann::json ppforest2::cli::ModelParams::sr_config

◆ sr_input

std::string ppforest2::cli::ModelParams::sr_input

◆ threads

int ppforest2::cli::ModelParams::threads = -1

◆ used_default_seed

bool ppforest2::cli::ModelParams::used_default_seed = false

◆ used_default_threads

bool ppforest2::cli::ModelParams::used_default_threads = false

◆ used_default_vars

bool ppforest2::cli::ModelParams::used_default_vars = false

◆ vars_input

std::string ppforest2::cli::ModelParams::vars_input

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