mxnet
|
#include <metric.h>
Public Member Functions | |
MAE () | |
void | Update (NDArray labels, NDArray preds) override |
Public Member Functions inherited from mxnet::cpp::EvalMetric | |
EvalMetric (const std::string &name, int num=0) | |
void | Reset () |
float | Get () |
void | GetNameValue () |
Additional Inherited Members | |
Static Protected Member Functions inherited from mxnet::cpp::EvalMetric | |
static void | CheckLabelShapes (NDArray labels, NDArray preds, bool strict=false) |
Protected Attributes inherited from mxnet::cpp::EvalMetric | |
std::string | name |
int | num |
float | sum_metric = 0.0f |
int | num_inst = 0 |
|
inline |
Implements mxnet::cpp::EvalMetric.