Logo ROOT  
Reference Guide
TMVA::SVWorkingSet Class Reference

Working class for Support Vector Machine.

Definition at line 42 of file SVWorkingSet.h.

Public Member Functions

 SVWorkingSet ()
 constructor More...
 
 SVWorkingSet (std::vector< TMVA::SVEvent * > *, SVKernelFunction *, Float_t, Bool_t)
 constructor More...
 
 ~SVWorkingSet ()
 destructor More...
 
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 PrintStat ()
 
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 More...
 
void TrainReg ()
 

Private Member Functions

void SetIndex (TMVA::SVEvent *)
 

Private Attributes

Float_t fB_low
 
Float_t fB_up
 
Bool_t fdoRegression
 
boolfExitFromTraining = nullptr
 
std::vector< TMVA::SVEvent * > * fInputData
 
UInt_tfIPyCurrentIter = nullptr
 message logger More...
 
SVKernelFunctionfKFunction
 
SVKernelMatrixfKMatrix
 
MsgLoggerfLogger
 
std::vector< TMVA::SVEvent * > * fSupVec
 
SVEventfTEventLow
 
SVEventfTEventUp
 
Float_t fTolerance
 

#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 679 of file SVWorkingSet.cxx.

◆ GetBpar()

Float_t TMVA::SVWorkingSet::GetBpar ( )
inline

Definition at line 56 of file SVWorkingSet.h.

◆ GetSupportVectors()

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

Definition at line 469 of file SVWorkingSet.cxx.

◆ IsDiffSignificant()

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

Definition at line 792 of file SVWorkingSet.cxx.

◆ PrintStat()

void TMVA::SVWorkingSet::PrintStat ( )

Definition at line 459 of file SVWorkingSet.cxx.

◆ SetIndex()

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

Definition at line 438 of file SVWorkingSet.cxx.

◆ SetIPythonInteractive()

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

Definition at line 65 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 485 of file SVWorkingSet.cxx.

◆ Terminated()

Bool_t TMVA::SVWorkingSet::Terminated ( )

Definition at line 375 of file SVWorkingSet.cxx.

◆ Train()

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

train the SVM

Definition at line 384 of file SVWorkingSet.cxx.

◆ TrainReg()

void TMVA::SVWorkingSet::TrainReg ( )

Member Data Documentation

◆ fB_low

Float_t TMVA::SVWorkingSet::fB_low
private

Definition at line 82 of file SVWorkingSet.h.

◆ fB_up

Float_t TMVA::SVWorkingSet::fB_up
private

Definition at line 83 of file SVWorkingSet.h.

◆ fdoRegression

Bool_t TMVA::SVWorkingSet::fdoRegression
private

Definition at line 73 of file SVWorkingSet.h.

◆ fExitFromTraining

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

Definition at line 90 of file SVWorkingSet.h.

◆ fInputData

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

Definition at line 74 of file SVWorkingSet.h.

◆ fIPyCurrentIter

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

message logger

Definition at line 89 of file SVWorkingSet.h.

◆ fKFunction

SVKernelFunction* TMVA::SVWorkingSet::fKFunction
private

Definition at line 76 of file SVWorkingSet.h.

◆ fKMatrix

SVKernelMatrix* TMVA::SVWorkingSet::fKMatrix
private

Definition at line 77 of file SVWorkingSet.h.

◆ fLogger

MsgLogger* TMVA::SVWorkingSet::fLogger
mutableprivate

Definition at line 86 of file SVWorkingSet.h.

◆ fSupVec

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

Definition at line 75 of file SVWorkingSet.h.

◆ fTEventLow

SVEvent* TMVA::SVWorkingSet::fTEventLow
private

Definition at line 80 of file SVWorkingSet.h.

◆ fTEventUp

SVEvent* TMVA::SVWorkingSet::fTEventUp
private

Definition at line 79 of file SVWorkingSet.h.

◆ fTolerance

Float_t TMVA::SVWorkingSet::fTolerance
private

Definition at line 84 of file SVWorkingSet.h.

Libraries for TMVA::SVWorkingSet:
[legend]

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