Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::SVWorkingSet Class Reference

Working class for Support Vector Machine.

Definition at line 42 of file SVWorkingSet.h.

Public Member Functions

 SVWorkingSet ()
 constructor
 
 SVWorkingSet (std::vector< TMVA::SVEvent * > *, SVKernelFunction *, Float_t, Bool_t)
 constructor
 
 ~SVWorkingSet ()
 destructor
 
Bool_t ExamineExample (SVEvent *)
 
Bool_t ExamineExampleReg (SVEvent *)
 
Float_t GetBpar ()
 
std::vector< TMVA::SVEvent * > * GetSupportVectors ()
 
Bool_t IsDiffSignificant (Float_t, Float_t, Float_t)
 
void SetIPythonInteractive (bool *ExitFromTraining, UInt_t *fIPyCurrentIter_)
 
Bool_t TakeStep (SVEvent *, SVEvent *)
 
Bool_t TakeStepReg (SVEvent *, SVEvent *)
 
Bool_t Terminated ()
 
void Train (UInt_t nIter=1000)
 train the SVM
 
void TrainReg ()
 

Private Member Functions

void SetIndex (TMVA::SVEvent *)
 

Private Attributes

Float_t fB_low
 documentation
 
Float_t fB_up
 documentation
 
Bool_t fdoRegression
 TODO temporary, find nicer solution.
 
boolfExitFromTraining = nullptr
 
std::vector< TMVA::SVEvent * > * fInputData
 input events
 
UInt_tfIPyCurrentIter = nullptr
 
SVKernelFunctionfKFunction
 kernel function
 
SVKernelMatrixfKMatrix
 kernel matrix
 
MsgLoggerfLogger
 ! message logger
 
std::vector< TMVA::SVEvent * > * fSupVec
 output events - support vectors
 
SVEventfTEventLow
 last optimized event
 
SVEventfTEventUp
 last optimized event
 
Float_t fTolerance
 documentation
 

#include <TMVA/SVWorkingSet.h>

Constructor & Destructor Documentation

◆ SVWorkingSet() [1/2]

TMVA::SVWorkingSet::SVWorkingSet ( )

constructor

Definition at line 50 of file SVWorkingSet.cxx.

◆ SVWorkingSet() [2/2]

TMVA::SVWorkingSet::SVWorkingSet ( std::vector< TMVA::SVEvent * > *  inputVectors,
SVKernelFunction kernelFunction,
Float_t  tol,
Bool_t  doreg 
)

constructor

Definition at line 68 of file SVWorkingSet.cxx.

◆ ~SVWorkingSet()

TMVA::SVWorkingSet::~SVWorkingSet ( )

destructor

Definition at line 120 of file SVWorkingSet.cxx.

Member Function Documentation

◆ ExamineExample()

Bool_t TMVA::SVWorkingSet::ExamineExample ( TMVA::SVEvent jevt)

Definition at line 128 of file SVWorkingSet.cxx.

◆ ExamineExampleReg()

Bool_t TMVA::SVWorkingSet::ExamineExampleReg ( TMVA::SVEvent jevt)

Definition at line 665 of file SVWorkingSet.cxx.

◆ GetBpar()

Float_t TMVA::SVWorkingSet::GetBpar ( )
inline

Definition at line 55 of file SVWorkingSet.h.

◆ GetSupportVectors()

std::vector< TMVA::SVEvent * > * TMVA::SVWorkingSet::GetSupportVectors ( )

Definition at line 457 of file SVWorkingSet.cxx.

◆ IsDiffSignificant()

Bool_t TMVA::SVWorkingSet::IsDiffSignificant ( Float_t  a_i,
Float_t  a_j,
Float_t  eps 
)

Definition at line 778 of file SVWorkingSet.cxx.

◆ SetIndex()

void TMVA::SVWorkingSet::SetIndex ( TMVA::SVEvent event)
private

Definition at line 436 of file SVWorkingSet.cxx.

◆ SetIPythonInteractive()

void TMVA::SVWorkingSet::SetIPythonInteractive ( bool ExitFromTraining,
UInt_t fIPyCurrentIter_ 
)
inline

Definition at line 64 of file SVWorkingSet.h.

◆ TakeStep()

Bool_t TMVA::SVWorkingSet::TakeStep ( TMVA::SVEvent ievt,
TMVA::SVEvent jevt 
)

Definition at line 184 of file SVWorkingSet.cxx.

◆ TakeStepReg()

Bool_t TMVA::SVWorkingSet::TakeStepReg ( TMVA::SVEvent ievt,
TMVA::SVEvent jevt 
)

Definition at line 473 of file SVWorkingSet.cxx.

◆ Terminated()

Bool_t TMVA::SVWorkingSet::Terminated ( )

Definition at line 373 of file SVWorkingSet.cxx.

◆ Train()

void TMVA::SVWorkingSet::Train ( UInt_t  nIter = 1000)

train the SVM

Definition at line 382 of file SVWorkingSet.cxx.

◆ TrainReg()

void TMVA::SVWorkingSet::TrainReg ( )

Member Data Documentation

◆ fB_low

Float_t TMVA::SVWorkingSet::fB_low
private

documentation

Definition at line 81 of file SVWorkingSet.h.

◆ fB_up

Float_t TMVA::SVWorkingSet::fB_up
private

documentation

Definition at line 82 of file SVWorkingSet.h.

◆ fdoRegression

Bool_t TMVA::SVWorkingSet::fdoRegression
private

TODO temporary, find nicer solution.

Definition at line 72 of file SVWorkingSet.h.

◆ fExitFromTraining

bool* TMVA::SVWorkingSet::fExitFromTraining = nullptr
private

Definition at line 89 of file SVWorkingSet.h.

◆ fInputData

std::vector<TMVA::SVEvent*>* TMVA::SVWorkingSet::fInputData
private

input events

Definition at line 73 of file SVWorkingSet.h.

◆ fIPyCurrentIter

UInt_t* TMVA::SVWorkingSet::fIPyCurrentIter = nullptr
private

Definition at line 88 of file SVWorkingSet.h.

◆ fKFunction

SVKernelFunction* TMVA::SVWorkingSet::fKFunction
private

kernel function

Definition at line 75 of file SVWorkingSet.h.

◆ fKMatrix

SVKernelMatrix* TMVA::SVWorkingSet::fKMatrix
private

kernel matrix

Definition at line 76 of file SVWorkingSet.h.

◆ fLogger

MsgLogger* TMVA::SVWorkingSet::fLogger
mutableprivate

! message logger

Definition at line 85 of file SVWorkingSet.h.

◆ fSupVec

std::vector<TMVA::SVEvent*>* TMVA::SVWorkingSet::fSupVec
private

output events - support vectors

Definition at line 74 of file SVWorkingSet.h.

◆ fTEventLow

SVEvent* TMVA::SVWorkingSet::fTEventLow
private

last optimized event

Definition at line 79 of file SVWorkingSet.h.

◆ fTEventUp

SVEvent* TMVA::SVWorkingSet::fTEventUp
private

last optimized event

Definition at line 78 of file SVWorkingSet.h.

◆ fTolerance

Float_t TMVA::SVWorkingSet::fTolerance
private

documentation

Definition at line 83 of file SVWorkingSet.h.

Libraries for TMVA::SVWorkingSet:

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