iRoCS Toolbox
1.1.0
|
The BasicSVMFactory class is a factory, that creates the appropriate template class from given strings. More...
#include <BasicSVMFactory.hh>
Static Public Member Functions | |
static BasicSVMAdapter< FV, STDATA > * | create (const std::string &mcName, const std::string &tcName, const std::string &kfName) |
create an BasicSVMAdapterTempl with the requested types. More... | |
template<typename STDATA2 > | |
static BasicSVMAdapter< FV, STDATA > * | createFromStData (STDATA2 &stData) |
(description) More... | |
The BasicSVMFactory class is a factory, that creates the appropriate template class from given strings.
BasicSVMFactory allows to do a runtime-creation of any Combination of Multi-Class, Two-Class and Kernel-Funktion types. For this the BasicSVMFactory needs the available Multi-Class types in MCLIST, the available Two-Class type in TCLIST and the available Kernel functions int KFLIST. To create these lists use MakeTTLIST for the SVM's and MakeTList for the kernels
BasicSVMFactory< BasicFV, StDataASCII, MakeTTList< MultiClassSVMOneVsOne, MultiClassSVMOneVsRest>, MakeTTList< TwoClassSVMc, TwoClassSVMnu>, MakeTList< Kernel_LINEAR, Kernel_RBF, Kernel_POLY> >
Definition at line 109 of file BasicSVMFactory.hh.
|
inlinestatic |
create an BasicSVMAdapterTempl with the requested types.
Each of the given names must match one of the classes in MCLIST, TCLIST and KFLIST
mcName | name of MultiClass type (empty string means take first element from MCLIST) |
tcName | name of TwoClass type (empty string means take first element from TCLIST) |
kfName | name of Kernel function type (empty string means take first element from KFLIST) |
UnknownClassNameError | one of the requested classes could not be found |
Definition at line 133 of file BasicSVMFactory.hh.
|
inlinestatic |