ROOT logo
ROOT » TMVA » TMVA::VariableNormalizeTransform

class TMVA::VariableNormalizeTransform: public TMVA::VariableTransformBase

Function Members (Methods)

public:
virtual~VariableNormalizeTransform()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidAttachXMLTo(void* parent)
virtual voidTObject::Browse(TBrowser* b)
voidBuildTransformationFromVarInfo(const vector<TMVA::VariableInfo>& var)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTMVA::VariableTransformBase::CountVariableTypes(UInt_t& nvars, UInt_t& ntgts, UInt_t& nspcts) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual Bool_tTMVA::VariableTransformBase::GetInput(const TMVA::Event* event, vector<Float_t>& input, vector<Char_t>& mask, Bool_t backTransform = kFALSE) const
virtual const char*TMVA::VariableTransformBase::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TStringTMVA::VariableTransformBase::GetShortName() const
virtual const char*TObject::GetTitle() const
virtual vector<TString>*GetTransformationStrings(Int_t cls) const
virtual UInt_tTObject::GetUniqueID() const
TMVA::Types::EVariableTransformTMVA::VariableTransformBase::GetVariableTransform() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidInitialize()
virtual voidTObject::Inspect() constMENU
virtual const TMVA::Event*InverseTransform(const TMVA::Event *const, Int_t cls) const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tTMVA::VariableTransformBase::IsCreated() const
Bool_tTMVA::VariableTransformBase::IsEnabled() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTMVA::VariableTransformBase::IsNormalised() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
TMVA::MsgLogger&TMVA::VariableTransformBase::Log() const
virtual voidTObject::ls(Option_t* option = "") const
virtual voidMakeFunction(ostream& fout, const TString& fncName, Int_t part, UInt_t trCounter, Int_t cls)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual Bool_tPrepareTransformation(const vector<TMVA::Event*,allocator<TMVA::Event*> >&)
virtual voidTObject::Print(Option_t* option = "") const
virtual voidPrintTransformation(ostream& o)
virtual Int_tTObject::Read(const char* name)
virtual voidReadFromXML(void* trfnode)
virtual voidReadTransformationFromStream(istream&, const TString&)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTMVA::VariableTransformBase::SelectInput(const TString& inputVariables, Bool_t putIntoVariables = kFALSE)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTMVA::VariableTransformBase::SetEnabled(Bool_t e)
voidTMVA::VariableTransformBase::SetNormalise(Bool_t n)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTMVA::VariableTransformBase::SetOutput(TMVA::Event* event, vector<Float_t>& output, vector<Char_t>& mask, const TMVA::Event* oldEvent = 0, Bool_t backTransform = kFALSE) const
voidTMVA::VariableTransformBase::SetOutputDataSetInfo(TMVA::DataSetInfo* outputDsi)
voidTMVA::VariableTransformBase::SetTMVAVersion(TMVA::TMVAVersion_t v)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTMVA::VariableTransformBase::SetUseSignalTransform(Bool_t e = kTRUE)
virtual voidShowMembers(TMemberInspector&)
const vector<TMVA::VariableInfo>&TMVA::VariableTransformBase::Spectators() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
const vector<TMVA::VariableInfo>&TMVA::VariableTransformBase::Targets() const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
voidTMVA::VariableTransformBase::ToggleInputSortOrder(Bool_t sortOrder)
virtual const TMVA::Event*Transform(const TMVA::Event *const, Int_t cls) const
virtual voidTObject::UseCurrentStyle()
Bool_tTMVA::VariableTransformBase::UseSignalTransform() const
TMVA::VariableNormalizeTransformVariableNormalizeTransform(TMVA::DataSetInfo& dsi)
TMVA::VariableNormalizeTransformVariableNormalizeTransform(const TMVA::VariableNormalizeTransform&)
const vector<TMVA::VariableInfo>&TMVA::VariableTransformBase::Variables() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidWriteTransformationToStream(ostream&) const
private:
voidCalcNormalizationParams(const vector<TMVA::Event*,allocator<TMVA::Event*> >& events)

Data Members

private:
TMVA::VariableNormalizeTransform::VectorOfFloatVectorsfMax! Max of source range
TMVA::VariableNormalizeTransform::VectorOfFloatVectorsfMin! Min of source range

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

VariableNormalizeTransform( DataSetInfo& dsi )
 constructor
~VariableNormalizeTransform()
void Initialize()
 initialization of the normalization transformation
Bool_t PrepareTransformation(const vector<TMVA::Event*,allocator<TMVA::Event*> >& )
 prepare transformation
const TMVA::Event* Transform(const TMVA::Event *const , Int_t cls) const
const TMVA::Event* InverseTransform(const TMVA::Event *const , Int_t cls) const
 apply the inverse transformation
void CalcNormalizationParams(const vector<TMVA::Event*,allocator<TMVA::Event*> >& events)
 compute offset and scale from min and max
std::vector<TString>* GetTransformationStrings(Int_t cls) const
 creates string with variable transformations applied
void WriteTransformationToStream(ostream& ) const
 write the transformation to the stream
void AttachXMLTo(void* parent)
 create XML description of Normalize transformation
void ReadFromXML(void* trfnode)
 Read the transformation matrices from the xml node
void BuildTransformationFromVarInfo(const vector<TMVA::VariableInfo>& var)
 this method is only used when building a normalization transformation
 from old text files
 in this case regression didn't exist and there were no targets
void ReadTransformationFromStream(istream& , const TString& )
 Read the variable ranges from an input stream
void PrintTransformation(ostream& o)
 prints the transformation ranges
void MakeFunction(ostream& fout, const TString& fncName, Int_t part, UInt_t trCounter, Int_t cls)
 creates a normalizing function
 TODO include target-transformation into makefunction
VariableNormalizeTransform( DataSetInfo& dsi )