KrisLibrary
1.0.0
|
Public Member Functions | |
ErrorAccumulator (Real norm=1.0) | |
Sets an L-p norm. | |
ErrorAccumulator (const char *type) | |
void | Add (Real error) |
void | Add (Real error, Real weight) |
Real | Value () const |
Public Attributes | |
Real | norm |
bool | mean |
bool | root |
Real | accumulator |
Real | sumWeights |
ErrorAccumulator::ErrorAccumulator | ( | const char * | type | ) |
Can accept L1, L2, Linf, MAE (mean absolute error) MSE (mean squared error), RMSE (root mean squared error)
References ObjectiveFunctionalBase::IncrementalCost(), and Math::IsInf().