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

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

#include <nlohmann/json.hpp>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  ppforest2::cli::ModelParams
 Model training parameters shared by train and evaluate. More...
 

Namespaces

namespace  ppforest2
 Binarization strategies for multiclass-to-binary reduction.
 
namespace  ppforest2::cli
 Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration.
 

Functions

float ppforest2::cli::parse_proportion (nlohmann::json const &j)
 
float ppforest2::cli::parse_proportion (std::string const &input)
 Parse a proportion from a string or JSON value.
 
nlohmann::json ppforest2::cli::strategy_string_to_json (std::string const &input)
 Parse a CLI strategy string into a JSON object.
 

Detailed Description

Model training parameters shared by train and evaluate.