|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Central config validation for all CLI subcommands. More...
#include <nlohmann/json.hpp>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | ppforest2 |
| Binarization strategies for multiclass-to-binary reduction. | |
| namespace | ppforest2::cli |
| Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration. | |
Functions | |
| void | ppforest2::cli::check (bool condition, std::string const &message, std::vector< std::string > &errors) |
| Collects validation errors grouped by label. | |
| nlohmann::json | ppforest2::cli::training_defaults () |
| Default values for shared training parameters. | |
| void | ppforest2::cli::validate_params (Params const ¶ms) |
| Validate training-related params and throw on errors. | |
| void | ppforest2::cli::validate_training_config (nlohmann::json const &config, std::vector< std::string > &errors) |
| Validate a training config JSON. | |
Central config validation for all CLI subcommands.
Every subcommand (train, evaluate, benchmark) produces a JSON config that is validated centrally before being applied to Params. Central defaults exist for shared parameters; benchmark scenarios skip them (scenarios must be explicit).