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. | |
bool * | fExitFromTraining = nullptr |
std::vector< TMVA::SVEvent * > * | fInputData |
input events | |
UInt_t * | fIPyCurrentIter = nullptr |
SVKernelFunction * | fKFunction |
kernel function | |
SVKernelMatrix * | fKMatrix |
kernel matrix | |
MsgLogger * | fLogger |
! message logger | |
std::vector< TMVA::SVEvent * > * | fSupVec |
output events - support vectors | |
SVEvent * | fTEventLow |
last optimized event | |
SVEvent * | fTEventUp |
last optimized event | |
Float_t | fTolerance |
documentation | |
#include <TMVA/SVWorkingSet.h>
TMVA::SVWorkingSet::SVWorkingSet | ( | ) |
constructor
Definition at line 50 of file SVWorkingSet.cxx.
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.
TMVA::SVWorkingSet::~SVWorkingSet | ( | ) |
destructor
Definition at line 120 of file SVWorkingSet.cxx.
Bool_t TMVA::SVWorkingSet::ExamineExample | ( | TMVA::SVEvent * | jevt | ) |
Definition at line 128 of file SVWorkingSet.cxx.
Bool_t TMVA::SVWorkingSet::ExamineExampleReg | ( | TMVA::SVEvent * | jevt | ) |
Definition at line 665 of file SVWorkingSet.cxx.
|
inline |
Definition at line 55 of file SVWorkingSet.h.
std::vector< TMVA::SVEvent * > * TMVA::SVWorkingSet::GetSupportVectors | ( | ) |
Definition at line 457 of file SVWorkingSet.cxx.
Definition at line 778 of file SVWorkingSet.cxx.
|
private |
Definition at line 436 of file SVWorkingSet.cxx.
|
inline |
Definition at line 64 of file SVWorkingSet.h.
Bool_t TMVA::SVWorkingSet::TakeStep | ( | TMVA::SVEvent * | ievt, |
TMVA::SVEvent * | jevt | ||
) |
Definition at line 184 of file SVWorkingSet.cxx.
Bool_t TMVA::SVWorkingSet::TakeStepReg | ( | TMVA::SVEvent * | ievt, |
TMVA::SVEvent * | jevt | ||
) |
Definition at line 473 of file SVWorkingSet.cxx.
Bool_t TMVA::SVWorkingSet::Terminated | ( | ) |
Definition at line 373 of file SVWorkingSet.cxx.
void TMVA::SVWorkingSet::Train | ( | UInt_t | nIter = 1000 | ) |
train the SVM
Definition at line 382 of file SVWorkingSet.cxx.
void TMVA::SVWorkingSet::TrainReg | ( | ) |
|
private |
documentation
Definition at line 81 of file SVWorkingSet.h.
|
private |
documentation
Definition at line 82 of file SVWorkingSet.h.
|
private |
TODO temporary, find nicer solution.
Definition at line 72 of file SVWorkingSet.h.
|
private |
Definition at line 89 of file SVWorkingSet.h.
|
private |
input events
Definition at line 73 of file SVWorkingSet.h.
|
private |
Definition at line 88 of file SVWorkingSet.h.
|
private |
kernel function
Definition at line 75 of file SVWorkingSet.h.
|
private |
kernel matrix
Definition at line 76 of file SVWorkingSet.h.
|
mutableprivate |
! message logger
Definition at line 85 of file SVWorkingSet.h.
|
private |
output events - support vectors
Definition at line 74 of file SVWorkingSet.h.
|
private |
last optimized event
Definition at line 79 of file SVWorkingSet.h.
|
private |
last optimized event
Definition at line 78 of file SVWorkingSet.h.
|
private |
documentation
Definition at line 83 of file SVWorkingSet.h.