ROOT logo
ROOT » TMVA » TMVA::kNN::Event

class TMVA::kNN::Event


  kNN::Event describes point in input variable vector-space, with
  additional functionality like distance between points


Function Members (Methods)

public:
~Event()
TMVA::kNN::EventEvent()
TMVA::kNN::EventEvent(const TMVA::kNN::Event&)
TMVA::kNN::EventEvent(const TMVA::kNN::VarVec& vec, Double_t weight, Short_t type)
TMVA::kNN::EventEvent(const TMVA::kNN::VarVec& vec, Double_t weight, Short_t type, const TMVA::kNN::VarVec& tvec)
TMVA::kNN::VarTypeGetDist(const TMVA::kNN::Event& other) const
TMVA::kNN::VarTypeGetDist(TMVA::kNN::VarType var, UInt_t ivar) const
TMVA::kNN::VarTypeGetDist(const TMVA::kNN::VarType var1, const UInt_t ivar) const
UInt_tGetNTgt() const
UInt_tGetNVar() const
const TMVA::kNN::VarVec&GetTargets() const
TMVA::kNN::VarTypeGetTgt(UInt_t i) const
TMVA::kNN::VarTypeGetTgt(const UInt_t i) const
Short_tGetType() const
TMVA::kNN::VarTypeGetVar(UInt_t i) const
TMVA::kNN::VarTypeGetVar(const UInt_t i) const
const TMVA::kNN::VarVec&GetVars() const
Double_tGetWeight() const
TMVA::kNN::Event&operator=(const TMVA::kNN::Event&)
voidPrint() const
voidPrint(ostream& os) const
voidSetTargets(const TMVA::kNN::VarVec& tvec)

Data Members

private:
TMVA::kNN::VarVecfTgttargets for regression analysis
Short_tfTypeevent type ==0 or == 1, expand it to arbitrary class types?
TMVA::kNN::VarVecfVarcoordinates (variables) for knn search
Double_tfWeightevent weight

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Event()
Event(const TMVA::kNN::VarVec& vec, Double_t weight, Short_t type)
Event(const TMVA::kNN::VarVec& vec, Double_t weight, Short_t type, const TMVA::kNN::VarVec& tvec)
~Event()
Double_t GetWeight() const
VarType GetVar(UInt_t i)
VarType GetTgt(UInt_t i)
UInt_t GetNVar() const
UInt_t GetNTgt() const
Short_t GetType() const
VarType GetDist(VarType var, UInt_t ivar)
 keep these two function separate
VarType GetDist(const TMVA::kNN::Event& other) const
void SetTargets(const TMVA::kNN::VarVec& tvec)
const VarVec& GetTargets() const
const VarVec& GetVars() const
void Print() const
void Print(ostream& os) const
VarType GetDist(const VarType var1, const UInt_t ivar)
 inlined functions for Event class

VarType GetVar(const UInt_t i)
VarType GetTgt(const UInt_t i)