Logo ROOT  
Reference Guide
TMVA::SVKernelFunction Class Reference

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 More...
 
 SVKernelFunction (EKernelType k, std::vector< EKernelType > kernels, std::vector< Float_t > gammas, Float_t gamma, Float_t order, Float_t theta)
 constructor More...
 
 SVKernelFunction (EKernelType, Float_t, Float_t=0)
 constructor More...
 
 SVKernelFunction (Float_t)
 constructor More...
 
 SVKernelFunction (std::vector< float > params)
 constructor More...
 
 ~SVKernelFunction ()
 destructor More...
 
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 More...
 

Private Attributes

Float_t fGamma
 
Float_t fKappa
 
EKernelType fKernel
 
std::vector< EKernelTypefKernelsList
 
std::vector< Float_tfmGamma
 
UInt_t fOrder
 
Float_t fTheta
 

#include <TMVA/SVKernelFunction.h>

Member Enumeration Documentation

◆ EKernelType

Enumerator
kLinear 
kRBF 
kPolynomial 
kSigmoidal 
kMultiGauss 
kProd 
kSum 

Definition at line 41 of file SVKernelFunction.h.

Constructor & Destructor Documentation

◆ SVKernelFunction() [1/5]

TMVA::SVKernelFunction::SVKernelFunction ( )

constructor

Definition at line 47 of file SVKernelFunction.cxx.

◆ SVKernelFunction() [2/5]

TMVA::SVKernelFunction::SVKernelFunction ( Float_t  gamma)

constructor

Definition at line 59 of file SVKernelFunction.cxx.

◆ SVKernelFunction() [3/5]

TMVA::SVKernelFunction::SVKernelFunction ( EKernelType  k,
Float_t  param1,
Float_t  param2 = 0 
)

constructor

Definition at line 72 of file SVKernelFunction.cxx.

◆ SVKernelFunction() [4/5]

TMVA::SVKernelFunction::SVKernelFunction ( std::vector< float >  params)

constructor

Definition at line 86 of file SVKernelFunction.cxx.

◆ SVKernelFunction() [5/5]

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.

◆ ~SVKernelFunction()

TMVA::SVKernelFunction::~SVKernelFunction ( )

destructor

Definition at line 115 of file SVKernelFunction.cxx.

Member Function Documentation

◆ Evaluate()

Float_t TMVA::SVKernelFunction::Evaluate ( SVEvent ev1,
SVEvent ev2 
)

Definition at line 133 of file SVKernelFunction.cxx.

◆ setCompatibilityParams()

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.

Member Data Documentation

◆ fGamma

Float_t TMVA::SVKernelFunction::fGamma
private

Definition at line 56 of file SVKernelFunction.h.

◆ fKappa

Float_t TMVA::SVKernelFunction::fKappa
private

Definition at line 65 of file SVKernelFunction.h.

◆ fKernel

EKernelType TMVA::SVKernelFunction::fKernel
private

Definition at line 62 of file SVKernelFunction.h.

◆ fKernelsList

std::vector<EKernelType> TMVA::SVKernelFunction::fKernelsList
private

Definition at line 67 of file SVKernelFunction.h.

◆ fmGamma

std::vector<Float_t> TMVA::SVKernelFunction::fmGamma
private

Definition at line 59 of file SVKernelFunction.h.

◆ fOrder

UInt_t TMVA::SVKernelFunction::fOrder
private

Definition at line 63 of file SVKernelFunction.h.

◆ fTheta

Float_t TMVA::SVKernelFunction::fTheta
private

Definition at line 64 of file SVKernelFunction.h.

Libraries for TMVA::SVKernelFunction:
[legend]

The documentation for this class was generated from the following files: