57 inline Type
bandwidth()
const {
return m_dBandwidth;};
61 virtual Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const=0;
62 virtual Type
execute(Type tValue)
const=0;
64 virtual string className()
const {
return string(
"CKernel");};
89 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
90 inline Type
execute(Type tValue)
const;
91 virtual string className()
const {
return string(
"CGaussianKernel");};
123 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const ;
124 inline Type
execute(Type tValue)
const;
125 virtual string className()
const {
return string(
"CPlummerKernel");};
155 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const ;
156 inline Type
execute(Type tValue)
const;
157 virtual string className()
const {
return string(
"CTriangularKernel");};
180 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
181 inline Type
execute(Type tValue)
const;
183 virtual string className()
const {
return string(
"CMultiVariateGaussianKernel");};
215 virtual string className()
const {
return string(
"CPolynomialKernel");};
220 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
221 inline Type
execute(Type tValue)
const;
244 virtual string className()
const {
return string(
"CLinearKernel");};
249 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
250 inline Type
execute(Type tValue)
const;
279 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
280 inline Type
execute(Type tValue)
const;
281 string factoryObject() {
return string(
"CDoubleExponentialKernelFactory.so");};
282 virtual string className()
const {
return string(
"CDoubleExponentialKernel");};
311 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
312 inline Type
execute(Type tValue)
const;
313 virtual string className()
const {
return string(
"CAnoveKernel");};
340 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
341 inline Type
execute(Type tValue)
const;
343 virtual string className()
const {
return string(
"CChiSquaredKernelFactoryKernel");};
366 inline Type
execute(
const Type* ptVector1,
const Type* ptVector2,
int iDim)
const;
367 inline Type
execute(Type tValue)
const;
Definition: CKernel.h:329
bool serialize(fstream &stream, IO_MODE mode)
Read/write from binary stream.
virtual string className() const
Returns the class name.
Definition: CKernel.h:183
CDenseVector< Type > tVecBandwidth
Definition: CKernel.h:172
Definition: CKernel.h:355
~CMultiVariateGaussianKernel()
CGaussianKernel(Type tBandwidth=1.0)
CTriangularKernel< Type > * clone() const
virtual string className() const
Returns the class name.
Definition: CKernel.h:244
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
string factoryObject()
Definition: CKernel.h:345
void setDegree(int iDegree)
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:126
CAnovaKernel< Type > & operator=(const CAnovaKernel< Type > &rtKernel)
IO_MODE
Definition: CObject.h:38
Definition: CKernel.h:168
double m_dEpsilon
Definition: CKernel.h:115
CTriangularKernel & operator=(const CTriangularKernel< Type > &rtKernel)
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
string factoryObject()
Definition: CKernel.h:93
CKernel< double > * _create_double_kernel()
Definition: CKernel.h:373
string factoryObject()
Definition: CKernel.h:315
int iDegree
Definition: CKernel.h:206
CMultiVariateGaussianKernel(CDenseVector< Type > tTmp=CDenseVector< Type >())
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:65
virtual void setEpsilon(Type tE)
CPlummerKernel & operator=(const CPlummerKernel< Type > &rtKernel)
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:158
CChiSquaredKernel< Type > * clone() const
virtual string factoryObject()=0
Triangular kernel function.
Definition: CKernel.h:145
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:245
CPolynomialKernel< Type > * clone() const
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
Plummer kernel function.
Definition: CKernel.h:112
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:216
CEpanechnikovKernel< Type > * clone() const
virtual CKernel< Type > * clone() const =0
virtual bool serialize(fstream &stream, IO_MODE mode)
Read/write from binary stream.
bool serialize(fstream &stream, IO_MODE mode)
Read/write from binary stream.
CAnovaKernel< Type > * clone() const
void _destroy_double_kernel(CKernel< double > *)
Definition: CKernel.h:374
string factoryObject()
Definition: CKernel.h:160
CAnovaKernel(Type tBandwidth=1, int iDegree=2)
virtual string className() const
Returns the class name.
Definition: CKernel.h:282
void setDegree(int iDegree)
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:314
CLinearKernel< Type > * clone() const
Type gradientBandwidth(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2, Type tDiagConst=0)
CKernel(Type tBandwidth=-1.0)
virtual string className() const
Returns the class name.
Definition: CKernel.h:343
CLinearKernel< Type > & operator=(const CLinearKernel< Type > &rtKernel)
CPlummerKernel< Type > * clone() const
CDoubleExponentialKernel< Type > * clone() const
string factoryObject()
Definition: CKernel.h:368
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:184
CPolynomialKernel(Type tBandwidth=1, int iDegree=2, Type tR=0)
CTriangularKernel(Type tBandwidth=1)
void setBandwidth(Type tBw)
virtual ~CKernel()
Definition: CKernel.h:54
string factoryObject()
Definition: CKernel.h:222
virtual string className() const
Returns the class name.
Definition: CKernel.h:125
virtual Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const =0
virtual bool serialize2(CArchiv &tA)
virtual bool serialize2(CArchiv &tA)
virtual string className() const
Returns the class name.
Definition: CKernel.h:91
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:283
Type bandwidth() const
Definition: CKernel.h:57
virtual string factoryObject()
Definition: CKernel.h:190
virtual bool serialize2(CArchiv &tA)
CGaussianKernel< Type > * clone() const
virtual string className() const
Returns the class name.
Definition: CKernel.h:157
CEpanechnikovKernel< Type > & operator=(const CEpanechnikovKernel< Type > &rtKernel)
Base class of object serialization.
Definition: CArchiv.h:19
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
Base class for kernel functions Base class for kernel function used for example by the support vector...
Definition: CKernel.h:46
double dR
Definition: CKernel.h:205
Gaussian kernel function.
Definition: CKernel.h:79
Template object for vectors of single and double precision and integer.
Definition: CDenseVector.h:37
Double-Exponential kernel function.
Definition: CKernel.h:268
CMultiVariateGaussianKernel< Type > * clone() const
templatized vector for numerical applications
Definition: CMatrix.h:39
CPolynomialKernel< Type > & operator=(const CPolynomialKernel< Type > &rtKernel)
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
Base class for all object.
Definition: CObject.h:51
virtual bool serialize2(CArchiv &tA)
virtual string className() const
Returns the class name.
Definition: CKernel.h:64
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
string factoryObject()
Definition: CKernel.h:251
void _destroy_float_kernel(CKernel< float > *)
Definition: CKernel.h:376
CGaussianKernel & operator=(const CGaussianKernel< Type > &rtKernel)
bool serialize(fstream &stream, IO_MODE mode)
Read/write from binary stream.
string factoryObject()
Definition: CKernel.h:131
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:344
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CObject.h:93
Polynomial kernel function.
Definition: CKernel.h:202
CDoubleExponentialKernel(Type tBandwidth=1)
void setBandwidth(Type tB)
Definition: CKernel.h:58
CDoubleExponentialKernel< Type > & operator=(const CDoubleExponentialKernel< Type > &rtKernel)
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CKernel.h:92
int iDegree
Definition: CKernel.h:300
CKernel< float > * _create_float_kernel()
Definition: CKernel.h:375
virtual string className() const
Returns the class name.
Definition: CKernel.h:313
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
virtual string className() const
Returns the class name.
Definition: CKernel.h:215
CChiSquaredKernel< Type > & operator=(const CChiSquaredKernel< Type > &rtKernel)
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
Type execute(const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
~CDoubleExponentialKernel()
CMultiVariateGaussianKernel & operator=(const CMultiVariateGaussianKernel< Type > &rtKernel)
string factoryObject()
Definition: CKernel.h:281
ANOVA kernel function.
Definition: CKernel.h:297
CPlummerKernel(Type tBandwidth=1)
Linear kernel function.
Definition: CKernel.h:237