Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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
 
bool * fExitFromTraining = 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 51 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 69 of file SVWorkingSet.cxx.

◆ ~SVWorkingSet()

TMVA::SVWorkingSet::~SVWorkingSet ( )

destructor

Definition at line 121 of file SVWorkingSet.cxx.

Member Function Documentation

◆ ExamineExample()

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

Definition at line 129 of file SVWorkingSet.cxx.

◆ ExamineExampleReg()

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

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

◆ IsDiffSignificant()

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

Definition at line 793 of file SVWorkingSet.cxx.

◆ PrintStat()

void TMVA::SVWorkingSet::PrintStat ( )

Definition at line 460 of file SVWorkingSet.cxx.

◆ SetIndex()

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

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

◆ TakeStepReg()

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

Definition at line 486 of file SVWorkingSet.cxx.

◆ Terminated()

Bool_t TMVA::SVWorkingSet::Terminated ( )

Definition at line 376 of file SVWorkingSet.cxx.

◆ Train()

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

train the SVM

Definition at line 385 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.


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