Classifiers matrix output data adaptor. More...
#include <ClassifierAdaptors.h>
Public Member Functions | |
unsigned int | getElementsCount () const |
Returns the total elements number. More... | |
unsigned int | getFeaturesCount () const |
Returns the total features per element number. More... | |
MatrixOutputAdaptor (te::rp::Matrix< DataType > &matrix) | |
void | setFeature (const unsigned int &elementIndex, const unsigned int &featureIndex, const DataType &value) |
Set one feature value. More... | |
~MatrixOutputAdaptor () | |
Protected Attributes | |
te::rp::Matrix< DataType > & | m_matrix |
unsigned int | m_nCols |
unsigned int | m_nRows |
Classifiers matrix output data adaptor.
Definition at line 133 of file ClassifierAdaptors.h.
|
inline |
Definition at line 137 of file ClassifierAdaptors.h.
|
inline |
Definition at line 142 of file ClassifierAdaptors.h.
|
inlinevirtual |
Returns the total elements number.
Implements te::cl::OutputAdaptor< DataType >.
Definition at line 153 of file ClassifierAdaptors.h.
References te::rp::ca::MatrixOutputAdaptor< DataType >::m_nCols, and te::rp::ca::MatrixOutputAdaptor< DataType >::m_nRows.
|
inlinevirtual |
Returns the total features per element number.
Implements te::cl::OutputAdaptor< DataType >.
Definition at line 159 of file ClassifierAdaptors.h.
References te::rp::ca::MatrixOutputAdaptor< DataType >::m_nCols.
|
inlinevirtual |
Set one feature value.
elementIndex | Element index.. |
featureIndex | Feature index. |
Implements te::cl::OutputAdaptor< DataType >.
Definition at line 145 of file ClassifierAdaptors.h.
References te::rp::ca::MatrixOutputAdaptor< DataType >::m_matrix, and te::rp::ca::MatrixOutputAdaptor< DataType >::m_nCols.
|
protected |
Definition at line 166 of file ClassifierAdaptors.h.
Referenced by te::rp::ca::MatrixOutputAdaptor< DataType >::setFeature().
|
protected |
Definition at line 168 of file ClassifierAdaptors.h.
Referenced by te::rp::ca::MatrixOutputAdaptor< DataType >::getElementsCount(), te::rp::ca::MatrixOutputAdaptor< DataType >::getFeaturesCount(), and te::rp::ca::MatrixOutputAdaptor< DataType >::setFeature().
|
protected |
Definition at line 167 of file ClassifierAdaptors.h.
Referenced by te::rp::ca::MatrixOutputAdaptor< DataType >::getElementsCount().