Computes the classification error as \(1-\max(p_i)\).
More...
#include <classificationerror.h>
Computes the classification error as \(1-\max(p_i)\).
Definition at line 22 of file classificationerror.h.
◆ ClassificationError()
forpy::ClassificationError::ClassificationError |
( |
| ) |
|
◆ ~ClassificationError()
forpy::ClassificationError::~ClassificationError |
( |
| ) |
|
◆ DISALLOW_COPY_AND_ASSIGN()
◆ operator()()
float forpy::ClassificationError::operator() |
( |
const float * |
class_members_numbers, |
|
|
const size_t & |
n, |
|
|
const float & |
fsum |
|
) |
| const |
|
inlinevirtual |
◆ operator==()
bool forpy::ClassificationError::operator== |
( |
const IEntropyFunction & |
rhs | ) |
const |
|
virtual |
◆ serialize()
template<class Archive >
void forpy::ClassificationError::serialize |
( |
Archive & |
ar, |
|
|
const uint & |
|
|
) |
| |
|
inlineprivate |
◆ cereal::access
friend class cereal::access |
|
friend |
◆ operator<<
The documentation for this class was generated from the following file: