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

CLI argument parsing, validation, and configuration for ppforest2. More...

#include "cli/ModelParams.hpp"
#include "cli/EvaluateParams.hpp"
#include "cli/BenchmarkParams.hpp"
#include "io/Output.hpp"
#include <nlohmann/json.hpp>
#include <string>

Go to the source code of this file.

Classes

struct  ppforest2::cli::CLIOptions
 All CLI options and runtime parameters. More...
 

Namespaces

namespace  ppforest2
 
namespace  ppforest2::cli
 Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration.
 

Enumerations

enum class  ppforest2::cli::Subcommand {
  ppforest2::cli::none , ppforest2::cli::train , ppforest2::cli::predict , ppforest2::cli::evaluate ,
  ppforest2::cli::benchmark , ppforest2::cli::summarize
}
 Available CLI subcommands. More...
 

Functions

void ppforest2::cli::init_params (CLIOptions &params, int total_vars=0)
 Resolve sentinel values in CLIOptions to concrete defaults.
 
CLIOptions ppforest2::cli::parse_args (int argc, char *argv[])
 Parse command-line arguments into a CLIOptions struct.
 
void ppforest2::cli::warn_unused_params (io::Output &out, CLIOptions const &params)
 Warn the user about parameters that are ignored for single-tree training.
 

Detailed Description

CLI argument parsing, validation, and configuration for ppforest2.

Defines the CLIOptions struct and declares functions to parse, validate, and initialize runtime parameters.