|
Cosan
1.0
Data Analytics Library
|
CosanMetric class for metric functionality. More...
#include <CosanMetric.h>
Public Member Functions | |
| CosanMetric () | |
| CosanMetric (const CosanMatrix< NumericType > &yPredict, const CosanMatrix< NumericType > &yTrue) | |
| virtual NumericType | GetError (const CosanMatrix< NumericType > &yPredict, const CosanMatrix< NumericType > &yTrue) |
| void | setAttr (const CosanMatrix< NumericType > &yPredict, const CosanMatrix< NumericType > &yTrue) |
Public Member Functions inherited from Cosan::Evaluation | |
| Evaluation () | |
Public Member Functions inherited from Cosan::CosanBO | |
| CosanBO () | |
| Default constructor. More... | |
| virtual const std::string | GetName () const |
| Get the name of the objects. More... | |
Public Attributes | |
| NumericType | error |
CosanMetric class for metric functionality.
| [in] | yPredict | data for prediction |
| [in] | yTrue | data for truth Initialize metric class by |
Definition at line 37 of file CosanMetric.h.
|
inline |
Definition at line 40 of file CosanMetric.h.
|
inline |
Definition at line 45 of file CosanMetric.h.
|
inlinevirtual |
Reimplemented in Cosan::MaxError< NumericType >, Cosan::R2Score< NumericType >, Cosan::MeanSquareError< NumericType >, and Cosan::MeanAbsError< NumericType >.
Definition at line 51 of file CosanMetric.h.
|
inline |
Definition at line 58 of file CosanMetric.h.
| NumericType Cosan::CosanMetric< NumericType >::error |
Definition at line 70 of file CosanMetric.h.