ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
tmva
tmva
inc
TMVA
SVKernelFunction.h
Go to the documentation of this file.
1
// @(#)root/tmva $Id$
2
// Author: Andrzej Zemla
3
4
/**********************************************************************************
5
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6
* Package: TMVA *
7
* Class : SVKernelFunction *
8
* Web : http://tmva.sourceforge.net *
9
* *
10
* Description: *
11
* Kernel for Support Vector Machine *
12
* *
13
* Authors (alphabetical): *
14
* Marcin Wolter <Marcin.Wolter@cern.ch> - IFJ PAN, Krakow, Poland *
15
* Andrzej Zemla <azemla@cern.ch> - IFJ PAN, Krakow, Poland *
16
* (IFJ PAN: Henryk Niewodniczanski Inst. Nucl. Physics, Krakow, Poland) *
17
* *
18
* Copyright (c) 2005: *
19
* CERN, Switzerland *
20
* MPI-K Heidelberg, Germany *
21
* PAN, Krakow, Poland *
22
* *
23
* Redistribution and use in source and binary forms, with or without *
24
* modification, are permitted according to the terms listed in LICENSE *
25
* (http://tmva.sourceforge.net/LICENSE) *
26
**********************************************************************************/
27
28
#ifndef ROOT_TMVA_SVKernelFunction
29
#define ROOT_TMVA_SVKernelFunction
30
31
#ifndef ROOT_Rtypes
32
#include "
Rtypes.h
"
33
#endif
34
35
namespace
TMVA
{
36
37
class
SVEvent;
38
class
SVKernelFunction
{
39
40
public
:
41
42
SVKernelFunction
();
43
SVKernelFunction
(
Float_t
);
44
~SVKernelFunction
();
45
46
Float_t
Evaluate
(
SVEvent
* ev1,
SVEvent
* ev2 );
47
48
enum
EKernelType
{
kLinear
,
kRBF
,
kPolynomial
,
kSigmoidal
};
49
50
void
setCompatibilityParams
(
EKernelType
k,
UInt_t
order,
Float_t
theta,
Float_t
kappa);
51
52
private
:
53
54
Float_t
fGamma
;
// documentation
55
56
// kernel, order, theta, and kappa are for backward compatibility
57
EKernelType
fKernel
;
58
UInt_t
fOrder
;
59
Float_t
fTheta
;
60
Float_t
fKappa
;
61
};
62
}
63
64
#endif
TMVA::SVKernelFunction::fGamma
Float_t fGamma
Definition:
SVKernelFunction.h:54
TMVA::SVKernelFunction
Definition:
SVKernelFunction.h:38
Rtypes.h
Float_t
float Float_t
Definition:
RtypesCore.h:53
TMVA::SVKernelFunction::kRBF
Definition:
SVKernelFunction.h:48
TMVA::SVKernelFunction::fTheta
Float_t fTheta
Definition:
SVKernelFunction.h:59
TMVA::SVKernelFunction::setCompatibilityParams
void setCompatibilityParams(EKernelType k, UInt_t order, Float_t theta, Float_t kappa)
set old options for compatibility mode
Definition:
SVKernelFunction.cxx:67
TMVA::SVKernelFunction::fKappa
Float_t fKappa
Definition:
SVKernelFunction.h:60
TMVA::SVKernelFunction::kPolynomial
Definition:
SVKernelFunction.h:48
TMVA::SVKernelFunction::kSigmoidal
Definition:
SVKernelFunction.h:48
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TMVA::SVKernelFunction::~SVKernelFunction
~SVKernelFunction()
destructor
Definition:
SVKernelFunction.cxx:60
TMVA::SVKernelFunction::fOrder
UInt_t fOrder
Definition:
SVKernelFunction.h:58
TMVA::SVEvent
Definition:
SVEvent.h:42
TMVA
Abstract ClassifierFactory template that handles arbitrary types.
Definition:
MethodPyAdaBoost.h:29
TMVA::SVKernelFunction::fKernel
EKernelType fKernel
Definition:
SVKernelFunction.h:57
TMVA::SVKernelFunction::EKernelType
EKernelType
Definition:
SVKernelFunction.h:48
TMVA::SVKernelFunction::kLinear
Definition:
SVKernelFunction.h:48
TMVA::SVKernelFunction::Evaluate
Float_t Evaluate(SVEvent *ev1, SVEvent *ev2)
Definition:
SVKernelFunction.cxx:76
TMVA::SVKernelFunction::SVKernelFunction
SVKernelFunction()
constructor
Definition:
SVKernelFunction.cxx:36