|
tobicore
7.0.0
|
TOBI iC classifier. More...
#include <tobiic/ICClassifier.hpp>
Collaboration diagram for ICClassifier:Public Member Functions | |
| ICClassifier (const std::string &name, const std::string &desc) | |
| Constructor. | |
| ICClassifier (const std::string &name, const std::string &desc, ICVtype vtype, ICLtype ltype) | |
| Constructor. | |
| virtual std::string | GetName (void) const |
| Classifier name getter. | |
| virtual std::string | GetDescription (void) const |
| Classifier description getter. | |
| virtual const char * | GetChName (void) |
| Classifier name getter (as char array) | |
| virtual const char * | GetChDescription (void) |
| Classifier description getter (as char array) | |
| virtual bool | SetValueType (ICVtype vtype) |
| Value type setter. | |
| virtual bool | SetLabelType (ICLtype ltype) |
| Label type setter. | |
| virtual bool | SetValueType (std::string vtype) |
| Value type setter. | |
| virtual bool | SetLabelType (std::string ltype) |
| Label type setter. | |
| virtual ICVtype | GetValueType (void) const |
| Value type getter. | |
| virtual ICLtype | GetLabelType (void) const |
| Label type getter. | |
Static Public Member Functions | |
| static ICVtype | ValueType (const std::string &vtype) |
| Converts a value type. | |
| static ICLtype | LabelType (const std::string <ype) |
| Converts a label type. | |
| static ICVtype | ValueChType (const char *vtype) |
| Converts a value type. | |
| static ICLtype | LabelChType (const char *ltype) |
| Converts a label type. | |
Public Attributes | |
| ICSetClass | classes |
| ICClass map. | |
Static Public Attributes | |
| static const ICVtype | ValueUndef = -1 |
| Undefined class value type. | |
| static const ICVtype | ValueProb = 0 |
| Probabilities value type. | |
| static const ICVtype | ValueDist = 1 |
| Distances value type. | |
| static const ICVtype | ValueCLbl = 2 |
| Class Labels value type. | |
| static const ICVtype | ValueRCoe = 3 |
| Regression coefficients value type. | |
| static const ICLtype | LabelUndef = -1 |
| Undefined class label type. | |
| static const ICLtype | LabelBiosig = 0 |
| Biosig label type. | |
| static const ICLtype | LabelCustom = 1 |
| Custom label type. | |
| static const ICLtype | LabelClass = 2 |
| Class name label type. | |
| static std::string | TxtValueUndef |
| Undefined class value type as string. | |
| static std::string | TxtValueProb |
| Probabilities value type as string. | |
| static std::string | TxtValueDist |
| Distances value type as string. | |
| static std::string | TxtValueCLbl |
| Class Labels value type as string. | |
| static std::string | TxtValueRCoe |
| Regression coefficients value type as string. | |
| static std::string | TxtLabelUndef |
| Undefined class label type as string. | |
| static std::string | TxtLabelBiosig |
| Biosig label type as string. | |
| static std::string | TxtLabelCustom |
| Custom label type as string. | |
| static std::string | TxtLabelClass |
| Class name label type as string. | |
Protected Attributes | |
| std::string | _name |
| Classifier name. | |
| std::string | _desc |
| Classifier description. | |
| char | _chname [ICCLASSIFIER_CHNAME_SIZE] |
| Classifier name for in-situ serialization. | |
| char | _chdesc [ICCLASSIFIER_CHDESC_SIZE] |
| Classifier description for in-situ serialization. | |
| ICVtype | _vtype |
| Value type. | |
| ICLtype | _ltype |
| Label type. | |
TOBI iC classifier.
An ICClassifier is a set of ICClass objects, stored in an ICSetClass map. Whithin the ICSetClass map, each ICClass is identified with its label (i.e. 0x756, 0x562).
Each classifier must be configured for a specific label type (i.e. Biosig) and for a particular value type (i.e. probabilities, regression coefficients).
Definition at line 48 of file ICClassifier.hpp.
|
virtual |
Classifier description getter (as char array)
Definition at line 77 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
virtual |
Classifier name getter (as char array)
Definition at line 63 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
virtual |
Classifier description getter.
Definition at line 59 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
virtual |
Label type getter.
Definition at line 140 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
virtual |
Classifier name getter.
Definition at line 55 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
virtual |
Value type getter.
Definition at line 136 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
static |
Converts a label type.
Definition at line 195 of file ICClassifier.cpp.
|
static |
Converts a label type.
Definition at line 159 of file ICClassifier.cpp.
Here is the caller graph for this function:
|
virtual |
Label type setter.
Definition at line 98 of file ICClassifier.cpp.
|
virtual |
Label type setter.
Definition at line 121 of file ICClassifier.cpp.
|
virtual |
Value type setter.
Definition at line 91 of file ICClassifier.cpp.
|
virtual |
Value type setter.
Definition at line 105 of file ICClassifier.cpp.
|
static |
Converts a value type.
Definition at line 172 of file ICClassifier.cpp.
|
static |
Converts a value type.
Definition at line 144 of file ICClassifier.cpp.
Here is the caller graph for this function:| ICSetClass ICClassifier::classes |
ICClass map.
Set of ICClass objects.
Definition at line 192 of file ICClassifier.hpp.