MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / Metric

Class Metric

include/thundersvm/util/metric.h:13–18  ·  view source on GitHub ↗

* @brief metric for evaluation model */

Source from the content-addressed store, hash-verified

11 * @brief metric for evaluation model
12 */
13class Metric {
14public:
15 virtual string name() = 0;
16
17 virtual float_type score(const vector<float_type> &predict_y, const vector<float_type> &ground_truth_y) = 0;
18};
19
20/**
21 * @brief Accuracy

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected