Kernel for Support Vector Machine.
Definition at line 37 of file SVKernelFunction.h.
Public Types | |
enum | EKernelType { kLinear , kRBF , kPolynomial , kSigmoidal , kMultiGauss , kProd , kSum } |
Public Member Functions | |
SVKernelFunction () | |
constructor | |
SVKernelFunction (EKernelType k, std::vector< EKernelType > kernels, std::vector< Float_t > gammas, Float_t gamma, Float_t order, Float_t theta) | |
constructor | |
SVKernelFunction (EKernelType, Float_t, Float_t=0) | |
constructor | |
SVKernelFunction (Float_t) | |
constructor | |
SVKernelFunction (std::vector< float > params) | |
constructor | |
~SVKernelFunction () | |
destructor | |
Float_t | Evaluate (SVEvent *ev1, SVEvent *ev2) |
void | setCompatibilityParams (EKernelType k, UInt_t order, Float_t theta, Float_t kappa) |
set old options for compatibility mode | |
Private Attributes | |
Float_t | fGamma |
Float_t | fKappa |
EKernelType | fKernel |
std::vector< EKernelType > | fKernelsList |
std::vector< Float_t > | fmGamma |
UInt_t | fOrder |
Float_t | fTheta |
#include <TMVA/SVKernelFunction.h>
Enumerator | |
---|---|
kLinear | |
kRBF | |
kPolynomial | |
kSigmoidal | |
kMultiGauss | |
kProd | |
kSum |
Definition at line 41 of file SVKernelFunction.h.
TMVA::SVKernelFunction::SVKernelFunction | ( | ) |
constructor
Definition at line 47 of file SVKernelFunction.cxx.
TMVA::SVKernelFunction::SVKernelFunction | ( | Float_t | gamma | ) |
constructor
Definition at line 59 of file SVKernelFunction.cxx.
TMVA::SVKernelFunction::SVKernelFunction | ( | EKernelType | k, |
Float_t | param1, | ||
Float_t | param2 = 0 |
||
) |
constructor
Definition at line 72 of file SVKernelFunction.cxx.
TMVA::SVKernelFunction::SVKernelFunction | ( | std::vector< float > | params | ) |
constructor
Definition at line 86 of file SVKernelFunction.cxx.
TMVA::SVKernelFunction::SVKernelFunction | ( | EKernelType | k, |
std::vector< EKernelType > | kernels, | ||
std::vector< Float_t > | gammas, | ||
Float_t | gamma, | ||
Float_t | order, | ||
Float_t | theta | ||
) |
constructor
Definition at line 100 of file SVKernelFunction.cxx.
TMVA::SVKernelFunction::~SVKernelFunction | ( | ) |
destructor
Definition at line 115 of file SVKernelFunction.cxx.
Definition at line 133 of file SVKernelFunction.cxx.
void TMVA::SVKernelFunction::setCompatibilityParams | ( | EKernelType | k, |
UInt_t | order, | ||
Float_t | theta, | ||
Float_t | kappa | ||
) |
set old options for compatibility mode
Definition at line 124 of file SVKernelFunction.cxx.
|
private |
Definition at line 56 of file SVKernelFunction.h.
|
private |
Definition at line 65 of file SVKernelFunction.h.
|
private |
Definition at line 62 of file SVKernelFunction.h.
|
private |
Definition at line 67 of file SVKernelFunction.h.
|
private |
Definition at line 59 of file SVKernelFunction.h.
|
private |
Definition at line 63 of file SVKernelFunction.h.
|
private |
Definition at line 64 of file SVKernelFunction.h.