Machine Learning Library
|
#include <CSVMModel.h>
Public Member Functions | |
CSVMModel () | |
CSVMModel (const vector< CSVCandidate< Type > > &rtSVs, const CKernel< Type > &rtKernel, Type tBias, Type tSigmoidA=0, Type tSigmoidB=0) | |
CSVMModel (const CSVMModel< Type > &rtModel) | |
~CSVMModel () | |
CSVMModel< Type > & | operator= (const CSVMModel< Type > &rtModel) |
bool | serialize2 (CArchiv &tAr) |
int | classify (const CVector< Type > &rtPattern) const |
void | classify (const CVector< Type > &rtPattern, Type &rtClass, Type &rtMargin) const |
string | className () const |
Returns the class name. More... | |
bool | isA (const char *acClass) const |
Check if the object is an instance of the class with given name. More... | |
![]() | |
CObject () | |
Constructor. More... | |
virtual | ~CObject () |
Destructor. More... | |
virtual bool | serialize (fstream &stream, IO_MODE mode=READ) |
Read/write from binary stream. More... | |
void | setVerbose (VERBOSE_LEVEL tVerbose) |
Set the verbose level. More... | |
VERBOSE_LEVEL | verbose (void) const |
Return current verbose level. More... | |
DATATYPE | dataType () const |
Returns the template data type. More... | |
Protected Attributes | |
vector< CSVCandidate< Type > > | m_tSVs |
CKernel< Type > * | m_ptKernel |
CDenseVector< Type > | m_tWeight |
Type | m_tBias |
Type | m_tSigmoidA |
Type | m_tSigmoidB |
bool | m_bCalibrated |
![]() | |
unsigned char | ucVerbose |
CSVMModel< Type >::CSVMModel | ( | const vector< CSVCandidate< Type > > & | rtSVs, |
const CKernel< Type > & | rtKernel, | ||
Type | tBias, | ||
Type | tSigmoidA = 0 , |
||
Type | tSigmoidB = 0 |
||
) |
void CSVMModel< Type >::classify | ( | const CVector< Type > & | rtPattern, |
Type & | rtClass, | ||
Type & | rtMargin | ||
) | const |
|
inlinevirtual |
|
inlinevirtual |
Check if the object is an instance of the class with given name.
Reimplemented from CObject< Type >.
References CSVMModel< Type >::className(), and CObject< Type >::isA().
CSVMModel<Type>& CSVMModel< Type >::operator= | ( | const CSVMModel< Type > & | rtModel | ) |
Reimplemented from CObject< Type >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |