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
18
namespace
ppforest2::cli
{
25
struct
VarsSpec
{
26
bool
is_proportion
;
27
float
value
;
28
};
29
40
VarsSpec
parse_vars
(std::string
const
& input);
41
52
VarsSpec
parse_vars
(nlohmann::json
const
& j);
53
}
ppforest2::cli
Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration.
Definition
Benchmark.hpp:22
ppforest2::cli::parse_vars
VarsSpec parse_vars(std::string const &input)
Parse vars from a string (CLI input).
ppforest2::cli::VarsSpec
Result of parsing a vars specification.
Definition
VarsSpec.hpp:25
ppforest2::cli::VarsSpec::value
float value
Definition
VarsSpec.hpp:27
ppforest2::cli::VarsSpec::is_proportion
bool is_proportion
Definition
VarsSpec.hpp:26
core
src
cli
VarsSpec.hpp
Generated by
1.13.2