struct
SushiAI::Train::Metric
One named number a step produced, whatever it means.
- Declared in
include/SushiAI/train/objective.hpp
So a driver can print "accuracy 92.40%" or "residual 3.1e-4" without knowing which it is - which is the difference between a driver that survives a non-classifier and one that does not.
Public attributes
std::string_view nameWhat to call it, e.g.
"accuracy".
double value = 0.0Its value.
bool is_fraction = falseWhether it reads as a percentage rather than a bare number.

