ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
VarsSpec.hpp
Go to the documentation of this file.
1
13#pragma once
14
15#include <nlohmann/json.hpp>
16#include <string>
17
18namespace ppforest2::cli {
25 struct VarsSpec {
27 float value;
28 };
29
40 VarsSpec parse_vars(std::string const& input);
41
52 VarsSpec parse_vars(nlohmann::json const& j);
53}
Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration.
Definition Benchmark.hpp:22
VarsSpec parse_vars(std::string const &input)
Parse vars from a string (CLI input).
Result of parsing a vars specification.
Definition VarsSpec.hpp:25
float value
Definition VarsSpec.hpp:27
bool is_proportion
Definition VarsSpec.hpp:26