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

Event class for Support Vector Machine.

Definition at line 40 of file SVEvent.h.

Public Member Functions

 SVEvent ()
 
 SVEvent (const Event *, Float_t, Bool_t isSignal=kFALSE)
 constructor
 
 SVEvent (const std::vector< Float_t > *, Float_t alpha, Int_t typeFlag, UInt_t ns)
 constructor
 
 SVEvent (const std::vector< Float_t > *svector, Float_t alpha, Float_t alpha_p, Int_t typeFlag)
 constructor
 
virtual ~SVEvent ()
 destructor
 
Float_t GetAlpha () const
 
Float_t GetAlpha_p () const
 
Float_t GetCweight () const
 
std::vector< Float_t > * GetDataVector ()
 
Float_t GetDeltaAlpha () const
 
Float_t GetErrorCache () const
 
Int_t GetIdx () const
 
Float_tGetLine () const
 
UInt_t GetNs () const
 
Int_t GetNVar () const
 
Float_t GetTarget () const
 
Int_t GetTypeFlag () const
 
virtual TClassIsA () const
 
Bool_t IsInI0 () const
 
Bool_t IsInI0a () const
 
Bool_t IsInI0b () const
 
Bool_t IsInI1 () const
 
Bool_t IsInI2 () const
 
Bool_t IsInI3 () const
 
void Print (std::ostream &os) const
 printout
 
void PrintData ()
 printout
 
void SetAlpha (Float_t alpha)
 
void SetAlpha_p (Float_t alpha)
 
void SetErrorCache (Float_t err_cache)
 
void SetIdx (Int_t idx)
 
void SetIsShrinked (Int_t isshrinked)
 
void SetLine (Float_t *line)
 
void SetNs (UInt_t ns)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
void UpdateErrorCache (Float_t upercache)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

Float_t fAlpha
 Lagrange multiplier.
 
Float_t fAlpha_p
 Lagrange multiplier.
 
const Float_t fCweight
 svm cost weight
 
std::vector< Float_tfDataVector
 
Float_t fErrorCache
 optimization parameter
 
Int_t fIdx
 index flag
 
Int_t fIsShrinked
 shrinking flag, see documentation
 
Float_tfLine
 pointer to column of kernel matrix
 
UInt_t fNs
 documentation
 
UInt_t fNVar
 number of variables
 
const Float_t fTarget
 regression target
 
const Int_t fTypeFlag
 is sig or bkg - svm requieres 1 for sig and -1 for bkg
 

#include <TMVA/SVEvent.h>

Constructor & Destructor Documentation

◆ SVEvent() [1/4]

TMVA::SVEvent::SVEvent ( )

Definition at line 43 of file SVEvent.cxx.

◆ SVEvent() [2/4]

TMVA::SVEvent::SVEvent ( const Event event,
Float_t  C_par,
Bool_t  isSignal = kFALSE 
)

constructor

Definition at line 62 of file SVEvent.cxx.

◆ SVEvent() [3/4]

TMVA::SVEvent::SVEvent ( const std::vector< Float_t > *  svector,
Float_t  alpha,
Int_t  typeFlag,
UInt_t  ns 
)

constructor

Definition at line 81 of file SVEvent.cxx.

◆ SVEvent() [4/4]

TMVA::SVEvent::SVEvent ( const std::vector< Float_t > *  svector,
Float_t  alpha,
Float_t  alpha_p,
Int_t  typeFlag 
)

constructor

Definition at line 100 of file SVEvent.cxx.

◆ ~SVEvent()

TMVA::SVEvent::~SVEvent ( )
virtual

destructor

Definition at line 119 of file SVEvent.cxx.

Member Function Documentation

◆ Class()

static TClass * TMVA::SVEvent::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TMVA::SVEvent::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TMVA::SVEvent::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 99 of file SVEvent.h.

◆ DeclFileName()

static const char * TMVA::SVEvent::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 99 of file SVEvent.h.

◆ GetAlpha()

Float_t TMVA::SVEvent::GetAlpha ( ) const
inline

Definition at line 61 of file SVEvent.h.

◆ GetAlpha_p()

Float_t TMVA::SVEvent::GetAlpha_p ( ) const
inline

Definition at line 62 of file SVEvent.h.

◆ GetCweight()

Float_t TMVA::SVEvent::GetCweight ( ) const
inline

Definition at line 71 of file SVEvent.h.

◆ GetDataVector()

std::vector< Float_t > * TMVA::SVEvent::GetDataVector ( )
inline

Definition at line 60 of file SVEvent.h.

◆ GetDeltaAlpha()

Float_t TMVA::SVEvent::GetDeltaAlpha ( ) const
inline

Definition at line 63 of file SVEvent.h.

◆ GetErrorCache()

Float_t TMVA::SVEvent::GetErrorCache ( ) const
inline

Definition at line 65 of file SVEvent.h.

◆ GetIdx()

Int_t TMVA::SVEvent::GetIdx ( ) const
inline

Definition at line 68 of file SVEvent.h.

◆ GetLine()

Float_t * TMVA::SVEvent::GetLine ( ) const
inline

Definition at line 69 of file SVEvent.h.

◆ GetNs()

UInt_t TMVA::SVEvent::GetNs ( ) const
inline

Definition at line 70 of file SVEvent.h.

◆ GetNVar()

Int_t TMVA::SVEvent::GetNVar ( ) const
inline

Definition at line 67 of file SVEvent.h.

◆ GetTarget()

Float_t TMVA::SVEvent::GetTarget ( ) const
inline

Definition at line 72 of file SVEvent.h.

◆ GetTypeFlag()

Int_t TMVA::SVEvent::GetTypeFlag ( ) const
inline

Definition at line 66 of file SVEvent.h.

◆ IsA()

virtual TClass * TMVA::SVEvent::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 99 of file SVEvent.h.

◆ IsInI0()

Bool_t TMVA::SVEvent::IsInI0 ( ) const
inline

Definition at line 76 of file SVEvent.h.

◆ IsInI0a()

Bool_t TMVA::SVEvent::IsInI0a ( ) const
inline

Definition at line 74 of file SVEvent.h.

◆ IsInI0b()

Bool_t TMVA::SVEvent::IsInI0b ( ) const
inline

Definition at line 75 of file SVEvent.h.

◆ IsInI1()

Bool_t TMVA::SVEvent::IsInI1 ( ) const
inline

Definition at line 77 of file SVEvent.h.

◆ IsInI2()

Bool_t TMVA::SVEvent::IsInI2 ( ) const
inline

Definition at line 78 of file SVEvent.h.

◆ IsInI3()

Bool_t TMVA::SVEvent::IsInI3 ( ) const
inline

Definition at line 79 of file SVEvent.h.

◆ Print()

void TMVA::SVEvent::Print ( std::ostream &  os) const

printout

Definition at line 130 of file SVEvent.cxx.

◆ PrintData()

void TMVA::SVEvent::PrintData ( )

printout

Definition at line 140 of file SVEvent.cxx.

◆ SetAlpha()

void TMVA::SVEvent::SetAlpha ( Float_t  alpha)
inline

Definition at line 51 of file SVEvent.h.

◆ SetAlpha_p()

void TMVA::SVEvent::SetAlpha_p ( Float_t  alpha)
inline

Definition at line 52 of file SVEvent.h.

◆ SetErrorCache()

void TMVA::SVEvent::SetErrorCache ( Float_t  err_cache)
inline

Definition at line 53 of file SVEvent.h.

◆ SetIdx()

void TMVA::SVEvent::SetIdx ( Int_t  idx)
inline

Definition at line 56 of file SVEvent.h.

◆ SetIsShrinked()

void TMVA::SVEvent::SetIsShrinked ( Int_t  isshrinked)
inline

Definition at line 54 of file SVEvent.h.

◆ SetLine()

void TMVA::SVEvent::SetLine ( Float_t line)
inline

Definition at line 55 of file SVEvent.h.

◆ SetNs()

void TMVA::SVEvent::SetNs ( UInt_t  ns)
inline

Definition at line 57 of file SVEvent.h.

◆ Streamer()

virtual void TMVA::SVEvent::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TMVA::SVEvent::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 99 of file SVEvent.h.

◆ UpdateErrorCache()

void TMVA::SVEvent::UpdateErrorCache ( Float_t  upercache)
inline

Definition at line 58 of file SVEvent.h.

Member Data Documentation

◆ fAlpha

Float_t TMVA::SVEvent::fAlpha
private

Lagrange multiplier.

Definition at line 88 of file SVEvent.h.

◆ fAlpha_p

Float_t TMVA::SVEvent::fAlpha_p
private

Lagrange multiplier.

Definition at line 89 of file SVEvent.h.

◆ fCweight

const Float_t TMVA::SVEvent::fCweight
private

svm cost weight

Definition at line 87 of file SVEvent.h.

◆ fDataVector

std::vector<Float_t> TMVA::SVEvent::fDataVector
private

Definition at line 86 of file SVEvent.h.

◆ fErrorCache

Float_t TMVA::SVEvent::fErrorCache
private

optimization parameter

Definition at line 90 of file SVEvent.h.

◆ fIdx

Int_t TMVA::SVEvent::fIdx
private

index flag

Definition at line 93 of file SVEvent.h.

◆ fIsShrinked

Int_t TMVA::SVEvent::fIsShrinked
private

shrinking flag, see documentation

Definition at line 95 of file SVEvent.h.

◆ fLine

Float_t* TMVA::SVEvent::fLine
private

pointer to column of kernel matrix

Definition at line 96 of file SVEvent.h.

◆ fNs

UInt_t TMVA::SVEvent::fNs
private

documentation

Definition at line 94 of file SVEvent.h.

◆ fNVar

UInt_t TMVA::SVEvent::fNVar
private

number of variables

Definition at line 91 of file SVEvent.h.

◆ fTarget

const Float_t TMVA::SVEvent::fTarget
private

regression target

Definition at line 97 of file SVEvent.h.

◆ fTypeFlag

const Int_t TMVA::SVEvent::fTypeFlag
private

is sig or bkg - svm requieres 1 for sig and -1 for bkg

Definition at line 92 of file SVEvent.h.

Libraries for TMVA::SVEvent:

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