iRoCS Toolbox
1.1.0
|
The BasicSVMFactoryOneClass class is a factory, that creates the appropriate template class from given strings. More...
#include <BasicSVMFactoryOneClass.hh>
Static Public Member Functions | |
static BasicSVMAdapter< FV, STDATA > * | create (const std::string &ocName, const std::string &kfName) |
create an BasicSVMAdapterTempl with the requested types. More... | |
static BasicSVMAdapter< FV, STDATA > * | createFromStData (const STDATA &stData) |
(description) More... | |
The BasicSVMFactoryOneClass class is a factory, that creates the appropriate template class from given strings.
BasicSVMFactoryOneClass allows to do a runtime-creation of any Combination of One-Class and Kernel-Funktion types. For this the BasicSVMFactory needs the available One-Class type in OCLIST 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< OneClassSVMPlane, SVMRegression>, MakeTList< Kernel_LINEAR, Kernel_RBF, Kernel_POLY> >
Definition at line 179 of file BasicSVMFactoryOneClass.hh.
|
inlinestatic |
create an BasicSVMAdapterTempl with the requested types.
Each of the given names must match one of the classes in OCLIST and KFLIST
ocName | name of OneClass type (empty string means take first element from OCLIST) |
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 201 of file BasicSVMFactoryOneClass.hh.
|
inlinestatic |