TMVA::SVWorkingSet Class Reference

#include <SVWorkingSet.h>

List of all members.

Public Member Functions

 SVWorkingSet ()
 SVWorkingSet (std::vector< TMVA::SVEvent * > *, SVKernelFunction *, Float_t, Bool_t)
 ~SVWorkingSet ()
Bool_t ExamineExample (SVEvent *)
Bool_t TakeStep (SVEvent *, SVEvent *)
Bool_t Terminated ()
void Train (UInt_t nIter=1000)
void PrintStat ()
std::vector< TMVA::SVEvent * > * GetSupportVectors ()
Float_t GetBpar ()
Bool_t ExamineExampleReg (SVEvent *)
Bool_t TakeStepReg (SVEvent *, SVEvent *)
Bool_t IsDiffSignificant (Float_t, Float_t, Float_t)
void TrainReg ()
 SVWorkingSet ()
 SVWorkingSet (std::vector< TMVA::SVEvent * > *, SVKernelFunction *, Float_t, Bool_t)
 ~SVWorkingSet ()
Bool_t ExamineExample (SVEvent *)
Bool_t TakeStep (SVEvent *, SVEvent *)
Bool_t Terminated ()
void Train (UInt_t nIter=1000)
void PrintStat ()
std::vector< TMVA::SVEvent * > * GetSupportVectors ()
Float_t GetBpar ()
Bool_t ExamineExampleReg (SVEvent *)
Bool_t TakeStepReg (SVEvent *, SVEvent *)
Bool_t IsDiffSignificant (Float_t, Float_t, Float_t)
void TrainReg ()

Private Member Functions

void SetIndex (TMVA::SVEvent *)
 message logger
void SetIndex (TMVA::SVEvent *)
 message logger

Private Attributes

Bool_t fdoRegression
std::vector< TMVA::SVEvent * > * fInputData
std::vector< TMVA::SVEvent * > * fSupVec
SVKernelFunctionfKFunction
SVKernelMatrixfKMatrix
SVEventfTEventUp
SVEventfTEventLow
Float_t fB_low
Float_t fB_up
Float_t fTolerance
MsgLoggerfLogger
std::vector< TMVA::SVEvent * > * fInputData
std::vector< TMVA::SVEvent * > * fSupVec
SVKernelFunctionfKFunction
SVKernelMatrixfKMatrix
SVEventfTEventUp
SVEventfTEventLow
MsgLoggerfLogger


Detailed Description

Definition at line 44 of file SVWorkingSet.h.


Constructor & Destructor Documentation

TMVA::SVWorkingSet::SVWorkingSet (  ) 

Definition at line 43 of file SVWorkingSet.cxx.

TMVA::SVWorkingSet::SVWorkingSet ( std::vector< TMVA::SVEvent * > *  ,
SVKernelFunction ,
Float_t  ,
Bool_t   
)

Definition at line 60 of file SVWorkingSet.cxx.

References fB_low, fB_up, fdoRegression, fInputData, fKMatrix, fTEventLow, fTEventUp, fTolerance, TMVA::SVKernelMatrix::GetLine(), TMVA::SVEvent::GetTarget(), i, TRandom::Integer(), and TMVA::SVEvent::SetErrorCache().

TMVA::SVWorkingSet::~SVWorkingSet (  ) 

Definition at line 110 of file SVWorkingSet.cxx.

References fKMatrix, and fLogger.

TMVA::SVWorkingSet::SVWorkingSet (  ) 

TMVA::SVWorkingSet::SVWorkingSet ( std::vector< TMVA::SVEvent * > *  ,
SVKernelFunction ,
Float_t  ,
Bool_t   
)

TMVA::SVWorkingSet::~SVWorkingSet (  ) 


Member Function Documentation

Bool_t TMVA::SVWorkingSet::ExamineExample ( SVEvent  ) 

Definition at line 118 of file SVWorkingSet.cxx.

References fB_low, fB_up, fInputData, fTEventLow, fTEventUp, fTolerance, TMVA::SVEvent::GetErrorCache(), TMVA::SVEvent::GetIdx(), TMVA::SVEvent::GetLine(), TMVA::SVEvent::GetTypeFlag(), k, kFALSE, kTRUE, TMVA::SVEvent::SetErrorCache(), and TakeStep().

Referenced by Train().

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

Definition at line 173 of file SVWorkingSet.cxx.

References TMath::Abs(), RootCsg::epsilon, fB_low, fB_up, fInputData, fKMatrix, fTEventLow, fTEventUp, ROOT::Math::Cephes::gamma(), TMVA::SVEvent::GetAlpha(), TMVA::SVEvent::GetCweight(), TMVA::SVKernelMatrix::GetElement(), TMVA::SVEvent::GetErrorCache(), TMVA::SVEvent::GetNs(), TMVA::SVEvent::GetTypeFlag(), h, k, kFALSE, kTRUE, l, TMath::Max(), s, TMVA::SVEvent::SetAlpha(), TMVA::SVEvent::SetErrorCache(), and SetIndex().

Referenced by ExamineExample().

Bool_t TMVA::SVWorkingSet::Terminated (  ) 

Definition at line 363 of file SVWorkingSet.cxx.

References fB_low, fB_up, fTolerance, kFALSE, and kTRUE.

Referenced by Train().

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

Definition at line 370 of file SVWorkingSet.cxx.

References Endl, ExamineExample(), ExamineExampleReg(), fdoRegression, fInputData, fLogger, TMVA::kWARNING, and Terminated().

Referenced by TMVA::MethodSVM::Train().

void TMVA::SVWorkingSet::PrintStat (  ) 

Definition at line 443 of file SVWorkingSet.cxx.

References fInputData.

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

Definition at line 452 of file SVWorkingSet.cxx.

References fInputData, and fSupVec.

Referenced by TMVA::MethodSVM::Train().

Float_t TMVA::SVWorkingSet::GetBpar (  )  [inline]

Definition at line 58 of file SVWorkingSet.h.

References fB_low, and fB_up.

Referenced by TMVA::MethodSVM::Train().

Bool_t TMVA::SVWorkingSet::ExamineExampleReg ( SVEvent  ) 

Definition at line 661 of file SVWorkingSet.cxx.

References fB_low, fB_up, fInputData, fTEventLow, fTEventUp, fTolerance, TMVA::SVEvent::GetErrorCache(), TMVA::SVEvent::GetLine(), TMVA::SVEvent::GetTarget(), TMVA::SVEvent::IsInI0(), TMVA::SVEvent::IsInI0a(), TMVA::SVEvent::IsInI0b(), TMVA::SVEvent::IsInI1(), TMVA::SVEvent::IsInI2(), TMVA::SVEvent::IsInI3(), k, kFALSE, kTRUE, TMVA::SVEvent::SetErrorCache(), and TakeStepReg().

Referenced by Train().

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

Definition at line 468 of file SVWorkingSet.cxx.

References RootCsg::epsilon, fB_low, fB_up, fInputData, fKMatrix, fTEventLow, fTEventUp, fTolerance, ROOT::Math::Cephes::gamma(), TMVA::SVEvent::GetAlpha(), TMVA::SVEvent::GetAlpha_p(), TMVA::SVEvent::GetCweight(), TMVA::SVEvent::GetDeltaAlpha(), TMVA::SVKernelMatrix::GetElement(), TMVA::SVEvent::GetErrorCache(), TMVA::SVEvent::GetNs(), high, IsDiffSignificant(), k, kFALSE, kTRUE, low, TMath::Max(), TMath::Min(), TMVA::null(), TMVA::SVEvent::SetAlpha(), and TMVA::SVEvent::SetAlpha_p().

Referenced by ExamineExampleReg().

Bool_t TMVA::SVWorkingSet::IsDiffSignificant ( Float_t  ,
Float_t  ,
Float_t   
)

Definition at line 774 of file SVWorkingSet.cxx.

References TMath::Abs(), kFALSE, and kTRUE.

Referenced by TakeStepReg().

void TMVA::SVWorkingSet::TrainReg (  ) 

void TMVA::SVWorkingSet::SetIndex ( TMVA::SVEvent  )  [private]

message logger

Definition at line 423 of file SVWorkingSet.cxx.

References TMVA::SVEvent::GetAlpha(), TMVA::SVEvent::GetCweight(), TMVA::SVEvent::GetTypeFlag(), and TMVA::SVEvent::SetIdx().

Referenced by TakeStep().

Bool_t TMVA::SVWorkingSet::ExamineExample ( SVEvent  ) 

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

Bool_t TMVA::SVWorkingSet::Terminated (  ) 

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

void TMVA::SVWorkingSet::PrintStat (  ) 

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

Float_t TMVA::SVWorkingSet::GetBpar (  )  [inline]

Definition at line 58 of file SVWorkingSet.h.

References fB_low, and fB_up.

Bool_t TMVA::SVWorkingSet::ExamineExampleReg ( SVEvent  ) 

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

Bool_t TMVA::SVWorkingSet::IsDiffSignificant ( Float_t  ,
Float_t  ,
Float_t   
)

void TMVA::SVWorkingSet::TrainReg (  ) 

void TMVA::SVWorkingSet::SetIndex ( TMVA::SVEvent  )  [private]

message logger


Member Data Documentation

Bool_t TMVA::SVWorkingSet::fdoRegression [private]

Definition at line 69 of file SVWorkingSet.h.

Referenced by SVWorkingSet(), and Train().

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

Definition at line 70 of file SVWorkingSet.h.

Referenced by ExamineExample(), ExamineExampleReg(), GetSupportVectors(), PrintStat(), SVWorkingSet(), TakeStep(), TakeStepReg(), and Train().

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

Definition at line 71 of file SVWorkingSet.h.

Referenced by GetSupportVectors().

SVKernelFunction* TMVA::SVWorkingSet::fKFunction [private]

Definition at line 72 of file SVWorkingSet.h.

SVKernelMatrix* TMVA::SVWorkingSet::fKMatrix [private]

Definition at line 73 of file SVWorkingSet.h.

Referenced by SVWorkingSet(), TakeStep(), TakeStepReg(), and ~SVWorkingSet().

SVEvent* TMVA::SVWorkingSet::fTEventUp [private]

Definition at line 75 of file SVWorkingSet.h.

Referenced by ExamineExample(), ExamineExampleReg(), SVWorkingSet(), TakeStep(), and TakeStepReg().

SVEvent* TMVA::SVWorkingSet::fTEventLow [private]

Definition at line 76 of file SVWorkingSet.h.

Referenced by ExamineExample(), ExamineExampleReg(), SVWorkingSet(), TakeStep(), and TakeStepReg().

Float_t TMVA::SVWorkingSet::fB_low [private]

Definition at line 78 of file SVWorkingSet.h.

Referenced by ExamineExample(), ExamineExampleReg(), GetBpar(), SVWorkingSet(), TakeStep(), TakeStepReg(), and Terminated().

Float_t TMVA::SVWorkingSet::fB_up [private]

Definition at line 79 of file SVWorkingSet.h.

Referenced by ExamineExample(), ExamineExampleReg(), GetBpar(), SVWorkingSet(), TakeStep(), TakeStepReg(), and Terminated().

Float_t TMVA::SVWorkingSet::fTolerance [private]

Definition at line 80 of file SVWorkingSet.h.

Referenced by ExamineExample(), ExamineExampleReg(), SVWorkingSet(), TakeStepReg(), and Terminated().

MsgLogger* TMVA::SVWorkingSet::fLogger [mutable, private]

Definition at line 82 of file SVWorkingSet.h.

Referenced by Train(), and ~SVWorkingSet().

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

Definition at line 70 of file SVWorkingSet.h.

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

Definition at line 71 of file SVWorkingSet.h.

SVKernelFunction* TMVA::SVWorkingSet::fKFunction [private]

Definition at line 72 of file SVWorkingSet.h.

SVKernelMatrix* TMVA::SVWorkingSet::fKMatrix [private]

Definition at line 73 of file SVWorkingSet.h.

SVEvent* TMVA::SVWorkingSet::fTEventUp [private]

Definition at line 75 of file SVWorkingSet.h.

SVEvent* TMVA::SVWorkingSet::fTEventLow [private]

Definition at line 76 of file SVWorkingSet.h.

MsgLogger* TMVA::SVWorkingSet::fLogger [mutable, private]

Definition at line 82 of file SVWorkingSet.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 17:01:45 2011 for ROOT_528-00b_version by  doxygen 1.5.1