#include <PDEFoam.h>
Inheritance diagram for TMVA::PDEFoam:
Definition at line 107 of file PDEFoam.h.
TMVA::PDEFoam::PDEFoam | ( | const PDEFoam & | ) | [protected] |
TMVA::PDEFoam::PDEFoam | ( | ) |
Definition at line 91 of file PDEFoam.cxx.
TMVA::PDEFoam::PDEFoam | ( | const TString & | ) |
TMVA::PDEFoam::~PDEFoam | ( | ) | [virtual] |
TMVA::PDEFoam::PDEFoam | ( | const PDEFoam & | ) | [protected] |
TMVA::PDEFoam::PDEFoam | ( | ) |
TMVA::PDEFoam::PDEFoam | ( | const TString & | ) |
virtual TMVA::PDEFoam::~PDEFoam | ( | ) | [virtual] |
message logger
Definition at line 153 of file PDEFoam.h.
Referenced by CalcCellDiscr(), and WeightGaus().
PDEFoamDistr* TMVA::PDEFoam::GetDistr | ( | ) | const [inline, private] |
Definition at line 154 of file PDEFoam.h.
References fDistr.
Referenced by FillBinarySearchTree(), Init(), and SetFoamType().
void TMVA::PDEFoam::OutputGrow | ( | Bool_t | finished = false |
) | [protected] |
Definition at line 2470 of file PDEFoam.cxx.
References TMVA::Timer::DrawProgressBar(), Endl, fLastCe, fNCells, fTimer, TMVA::Timer::GetElapsedTime(), TMVA::kINFO, and Log().
Referenced by Grow().
Float_t TMVA::PDEFoam::WeightGaus | ( | PDEFoamCell * | , | |
std::vector< Float_t > & | , | |||
UInt_t | dim = 0 | |||
) | [protected] |
Definition at line 1918 of file PDEFoam.cxx.
References RootCsg::distance(), Endl, TMath::Gaus(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), GetVolumeFraction(), i, kFALSE, TMVA::kFATAL, TMVA::kWARNING, Log(), Sqr(), TMath::Sqrt(), and width.
Referenced by GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetProjectedRegValue(), and Project2().
Double_t TMVA::PDEFoam::WeightLinNeighbors | ( | std::vector< Float_t > & | txvec, | |
ECellValue | cv, | |||
Int_t | dim1 = -1 , |
|||
Int_t | dim2 = -1 , |
|||
Bool_t | TreatEmptyCells = kFALSE | |||
) | [protected] |
Definition at line 1834 of file PDEFoam.cxx.
References CellValueIsUndefined(), Endl, FindCell(), GetAverageNeighborsValue(), GetCellValue(), TMVA::PDEFoamCell::GetHcub(), GetProjectionCellValue(), GetTotDim(), TMVA::kFATAL, Log(), norm(), and result().
Referenced by GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), and Project2().
void TMVA::PDEFoam::InitCells | ( | ) | [protected] |
Definition at line 323 of file PDEFoam.cxx.
References CellFill(), DTExplore(), Endl, Explore(), fCells, fDim, fDTSeparation, fLastCe, fNCells, GetNmin(), i, TMVA::kFATAL, TMVA::kFoam, Log(), ResetCellElements(), SetNElements(), and TMVA::PDEFoamCell::SetSerial().
Referenced by Create().
Int_t TMVA::PDEFoam::CellFill | ( | Int_t | , | |
PDEFoamCell * | ||||
) | [protected] |
Definition at line 362 of file PDEFoam.cxx.
References Endl, fCells, TMVA::PDEFoamCell::Fill(), fLastCe, fNCells, TMVA::PDEFoamCell::GetDriv(), TMVA::PDEFoamCell::GetIntg(), TMVA::kFATAL, Log(), TMVA::PDEFoamCell::SetBest(), TMVA::PDEFoamCell::SetDriv(), TMVA::PDEFoamCell::SetIntg(), and TMVA::PDEFoamCell::SetXdiv().
Referenced by Divide(), and InitCells().
void TMVA::PDEFoam::Explore | ( | PDEFoamCell * | Cell | ) | [protected] |
Definition at line 393 of file PDEFoam.cxx.
References TMVA::PDEFoamCell::CalcVolume(), Endl, Eval(), fAlpha, fCells, fDim, fEvPerBin, fHistEdg, fInhiDiv, fMaskDiv, fNBin, fNSampl, GetBuildUpCellEvents(), TMVA::PDEFoamCell::GetDriv(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetIntg(), GetNmin(), TMVA::PDEFoamCell::GetPare(), TMVA::PDEFoamCell::GetVolume(), gHigh, gVlow, i, j, k, TMVA::kFATAL, TMVA::kWARNING, Log(), MakeAlpha(), Reset(), TMVA::PDEFoamCell::SetBest(), SetCellElement(), TMVA::PDEFoamCell::SetDriv(), TMVA::PDEFoamCell::SetIntg(), TMVA::PDEFoamCell::SetXdiv(), sqrt(), and Varedu().
Referenced by Divide(), and InitCells().
void TMVA::PDEFoam::DTExplore | ( | PDEFoamCell * | Cell | ) | [protected] |
Definition at line 535 of file PDEFoam.cxx.
References TMVA::PDEFoamCell::CalcVolume(), Endl, fDim, fDistr, TMVA::PDEFoamDistr::FillHist(), fNBin, Form(), GetNmin(), GetSeparation(), TMVA::kFATAL, TMVA::kWARNING, Log(), TMVA::PDEFoamCell::SetBest(), SetCellElement(), TMVA::PDEFoamCell::SetDriv(), TMVA::PDEFoamCell::SetIntg(), and TMVA::PDEFoamCell::SetXdiv().
Referenced by Divide(), and InitCells().
Referenced by Explore().
void TMVA::PDEFoam::MakeAlpha | ( | ) | [protected] |
Definition at line 734 of file PDEFoam.cxx.
References fAlpha, fPseRan, fRvec, k, and TRandom3::RndmArray().
Referenced by Explore().
void TMVA::PDEFoam::Grow | ( | ) | [protected] |
Definition at line 899 of file PDEFoam.cxx.
References CheckAll(), Divide(), Endl, fCells, fLastCe, fNCells, fPeekMax, fTimer, GetNActiveCells(), TMVA::Timer::Init(), kTRUE, TMVA::kVERBOSE, Log(), OutputGrow(), PeekLast(), and PeekMax().
Referenced by Create().
Long_t TMVA::PDEFoam::PeekMax | ( | ) | [protected] |
Definition at line 745 of file PDEFoam.cxx.
References TMath::Abs(), Endl, RootCsg::epsilon, fCells, fLastCe, GetBuildUpCellEvents(), TMVA::PDEFoamCell::GetDepth(), GetMaxDepth(), GetNmin(), i, kTRUE, TMVA::kVERBOSE, TMVA::kWARNING, and Log().
Referenced by Grow().
Long_t TMVA::PDEFoam::PeekLast | ( | ) | [protected] |
Definition at line 800 of file PDEFoam.cxx.
References Endl, RootCsg::epsilon, fCells, fLastCe, GetBuildUpCellEvents(), GetDepth(), GetMaxDepth(), GetNmin(), i, kTRUE, TMVA::kVERBOSE, TMVA::kWARNING, and Log().
Referenced by Grow().
Int_t TMVA::PDEFoam::Divide | ( | PDEFoamCell * | ) | [protected] |
Definition at line 849 of file PDEFoam.cxx.
References CellFill(), DTExplore(), Endl, Explore(), fCells, fDTSeparation, fLastCe, fNCells, fNoAct, TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetXdiv(), TMVA::kFATAL, TMVA::kFoam, Log(), TMVA::PDEFoamCell::SetDau0(), TMVA::PDEFoamCell::SetDau1(), and TMVA::PDEFoamCell::SetStat().
Referenced by Grow().
Definition at line 891 of file PDEFoam.cxx.
References TMVA::PDEFoamDistr::Density(), and fDistr.
Referenced by Explore().
Definition at line 639 of file PDEFoam.cxx.
References Endl, fDTSeparation, TMVA::kCrossEntropy, TMVA::kFATAL, TMVA::kFoam, TMVA::kGiniIndex, TMVA::kMisClassificationError, TMath::Log(), Log(), TMath::Max(), and p.
Referenced by DTExplore().
Double_t TMVA::PDEFoam::GetCellElement | ( | PDEFoamCell * | cell, | |
UInt_t | i | |||
) | [protected] |
Definition at line 2437 of file PDEFoam.cxx.
References Endl, TMVA::PDEFoamCell::GetElement(), GetNElements(), TMVA::kFATAL, and Log().
Referenced by CalcCellDiscr(), CalcCellTarget(), FillFoamCells(), GetBuildUpCellEvents(), GetCellValue(), and PrintCellElements().
void TMVA::PDEFoam::SetCellElement | ( | PDEFoamCell * | cell, | |
UInt_t | i, | |||
Double_t | value | |||
) | [protected] |
Definition at line 2452 of file PDEFoam.cxx.
References Endl, TMVA::PDEFoamCell::GetElement(), GetNElements(), TMVA::kFATAL, and Log().
Referenced by CalcCellDiscr(), CalcCellTarget(), DTExplore(), Explore(), and FillFoamCells().
Double_t TMVA::PDEFoam::GetCellValue | ( | PDEFoamCell * | , | |
ECellValue | ||||
) | [protected] |
Definition at line 1745 of file PDEFoam.cxx.
References Endl, GetCellElement(), GetFoamType(), TMVA::kDensity, TMVA::kDiscr, TMVA::kDiscriminator, TMVA::kDiscriminatorError, TMVA::kMeanValue, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, TMVA::kTarget0Error, TMVA::kWARNING, and Log().
Referenced by CellValueIsUndefined(), Draw1Dim(), GetAverageNeighborsValue(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetCellTargets(), GetCellValue(), GetProjectionCellValue(), RootPlot2dim(), and WeightLinNeighbors().
Bool_t TMVA::PDEFoam::CellValueIsUndefined | ( | PDEFoamCell * | ) | [protected] |
Definition at line 1518 of file PDEFoam.cxx.
References GetCellValue(), GetFoamType(), TMVA::kDiscr, kFALSE, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kSeparate, and TMVA::kTarget0Error.
Referenced by GetAverageNeighborsValue(), and WeightLinNeighbors().
TMVA::PDEFoamCell * TMVA::PDEFoam::FindCell | ( | std::vector< Float_t > & | ) | [protected] |
Definition at line 1984 of file PDEFoam.cxx.
References fCells, TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetStat(), and GetTotDim().
Referenced by FillFoamCells(), GetAverageNeighborsValue(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetCellValue(), and WeightLinNeighbors().
std::vector< TMVA::PDEFoamCell * > TMVA::PDEFoam::FindCells | ( | std::vector< Float_t > & | ) | [protected] |
Definition at line 2056 of file PDEFoam.cxx.
References fCells, and FindCellsRecursive().
Referenced by GetCellTargets().
void TMVA::PDEFoam::FindCellsRecursive | ( | std::vector< Float_t > & | , | |
PDEFoamCell * | , | |||
std::vector< PDEFoamCell * > & | ||||
) | [protected] |
Definition at line 2013 of file PDEFoam.cxx.
References TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetStat(), and GetTotDim().
Referenced by FindCells().
std::vector< Float_t > TMVA::PDEFoam::GetCellTargets | ( | std::vector< Float_t > & | tvals, | |
ETargetSelection | ts | |||
) | [protected] |
Definition at line 1539 of file PDEFoam.cxx.
References FindCells(), fXmax, fXmin, GetCellValue(), GetTotDim(), TMVA::kDensity, TMVA::kMean, norm(), and VarTransformInvers().
Referenced by GetProjectedRegValue().
Double_t TMVA::PDEFoam::GetBuildUpCellEvents | ( | PDEFoamCell * | cell | ) | [protected] |
Definition at line 1826 of file PDEFoam.cxx.
References GetCellElement().
Referenced by Explore(), PeekLast(), and PeekMax().
void TMVA::PDEFoam::Init | ( | ) |
Definition at line 2713 of file PDEFoam.cxx.
References GetDistr(), TMVA::PDEFoamDistr::Initialize(), and TMVA::PDEFoamDistr::SetPDEFoam().
Referenced by TMVA::MethodPDEFoam::InitFoam().
Definition at line 2698 of file PDEFoam.cxx.
References TMVA::PDEFoamDistr::FillBinarySearchTree(), GetDistr(), and GetFoamType().
void TMVA::PDEFoam::Create | ( | ) |
Definition at line 257 of file PDEFoam.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), TString::Data(), Endl, fAlpha, fDim, fDistr, fHistEdg, fInhiDiv, fMaskDiv, fName, fNBin, fPseRan, fRvec, Grow(), i, InitCells(), kFALSE, TMVA::kFATAL, Log(), ResetCellElements(), and SetNElements().
Definition at line 1335 of file PDEFoam.cxx.
References Endl, fFillFoamWithOrigWeights, FindCell(), GetCellElement(), TMVA::Event::GetClass(), GetFoamType(), TMVA::Event::GetOriginalWeight(), TMVA::Event::GetTargets(), TMVA::Event::GetValues(), TMVA::Event::GetWeight(), TMVA::kDiscr, TMVA::kFATAL, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kSeparate, Log(), SetCellElement(), and VarTransform().
void TMVA::PDEFoam::CalcCellDiscr | ( | ) |
Definition at line 1247 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, GetCellElement(), TMVA::kWARNING, Log(), SetCellElement(), Sqr(), and TMath::Sqrt().
void TMVA::PDEFoam::CalcCellTarget | ( | ) |
Definition at line 1222 of file PDEFoam.cxx.
References fCells, fLastCe, GetCellElement(), SetCellElement(), and TMath::Sqrt().
void TMVA::PDEFoam::ResetCellElements | ( | Bool_t | allcells = false |
) |
Definition at line 1176 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, fNCells, GetNElements(), i, TMVA::kVERBOSE, Log(), and TMVA::PDEFoamCell::SetElement().
Referenced by Create(), and InitCells().
void TMVA::PDEFoam::SetDim | ( | Int_t | kDim | ) |
Definition at line 223 of file PDEFoam.cxx.
References Endl, fDim, fXmax, fXmin, GetTotDim(), TMVA::kFATAL, and Log().
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetnCells | ( | Long_t | nCells | ) | [inline] |
Definition at line 238 of file PDEFoam.h.
References fNCells.
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetnSampl | ( | Long_t | nSampl | ) | [inline] |
Definition at line 239 of file PDEFoam.h.
References fNSampl.
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetnBin | ( | Int_t | nBin | ) | [inline] |
Definition at line 240 of file PDEFoam.h.
References fNBin.
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetEvPerBin | ( | Int_t | EvPerBin | ) | [inline] |
Definition at line 241 of file PDEFoam.h.
References fEvPerBin.
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetNElements | ( | UInt_t | numb | ) | [inline] |
Definition at line 243 of file PDEFoam.h.
References fNElements.
Referenced by Create(), and InitCells().
void TMVA::PDEFoam::SetVolumeFraction | ( | Float_t | vfr | ) | [inline] |
Definition at line 244 of file PDEFoam.h.
References fVolFrac.
Referenced by TMVA::MethodPDEFoam::InitFoam(), ReadStream(), and ReadXML().
void TMVA::PDEFoam::SetFoamType | ( | EFoamType | ft | ) |
Definition at line 2722 of file PDEFoam.cxx.
References fFoamType, GetDistr(), TMVA::kDiscr, TMVA::kDISCRIMINATOR, TMVA::kEVENT_DENSITY, TMVA::kMonoTarget, TMVA::kTARGET, and TMVA::PDEFoamDistr::SetDensityCalc().
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetFillFoamWithOrigWeights | ( | Bool_t | new_val | ) | [inline] |
Definition at line 246 of file PDEFoam.h.
References fFillFoamWithOrigWeights.
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetDTSeparation | ( | EDTSeparation | new_val | ) | [inline] |
Definition at line 247 of file PDEFoam.h.
References fDTSeparation.
Referenced by TMVA::MethodPDEFoam::InitFoam().
void TMVA::PDEFoam::SetPeekMax | ( | Bool_t | new_val | ) | [inline] |
Definition at line 248 of file PDEFoam.h.
References fPeekMax.
Referenced by TMVA::MethodPDEFoam::InitFoam().
Int_t TMVA::PDEFoam::GetTotDim | ( | ) | const [inline] |
Definition at line 251 of file PDEFoam.h.
References fDim.
Referenced by AddXMLTo(), TMVA::PDEFoamDistr::Density(), Draw1Dim(), TMVA::PDEFoamDistr::FillHist(), FindCell(), FindCellsRecursive(), GetAverageNeighborsValue(), GetCellTargets(), GetProjectedRegValue(), GetProjectionCellValue(), Plot(), PrintStream(), Project2(), ReadStream(), ReadXML(), RootPlot2dim(), SetDim(), SetXmax(), SetXmin(), WeightGaus(), and WeightLinNeighbors().
TString TMVA::PDEFoam::GetFoamName | ( | ) | const [inline] |
UInt_t TMVA::PDEFoam::GetNElements | ( | ) | const [inline] |
Definition at line 253 of file PDEFoam.h.
References fNElements.
Referenced by GetCellElement(), PrintCellElements(), ResetCellElements(), and SetCellElement().
Float_t TMVA::PDEFoam::GetVolumeFraction | ( | ) | const [inline] |
Definition at line 254 of file PDEFoam.h.
References fVolFrac.
Referenced by AddXMLTo(), TMVA::PDEFoamDistr::Density(), PrintStream(), and WeightGaus().
EFoamType TMVA::PDEFoam::GetFoamType | ( | ) | const [inline] |
Definition at line 255 of file PDEFoam.h.
References fFoamType.
Referenced by CellValueIsUndefined(), Draw1Dim(), FillBinarySearchTree(), FillFoamCells(), GetCellValue(), Project2(), and RootPlot2dim().
UInt_t TMVA::PDEFoam::GetNActiveCells | ( | ) | const [inline] |
Definition at line 256 of file PDEFoam.h.
References fNoAct.
Referenced by GetNInActiveCells(), and Grow().
UInt_t TMVA::PDEFoam::GetNInActiveCells | ( | ) | const [inline] |
UInt_t TMVA::PDEFoam::GetNCells | ( | ) | const [inline] |
PDEFoamCell* TMVA::PDEFoam::GetRootCell | ( | ) | const [inline] |
void TMVA::PDEFoam::SetNmin | ( | UInt_t | val | ) | [inline] |
Definition at line 262 of file PDEFoam.h.
References fNmin.
Referenced by TMVA::MethodPDEFoam::InitFoam().
UInt_t TMVA::PDEFoam::GetNmin | ( | ) | [inline] |
Definition at line 263 of file PDEFoam.h.
References fNmin.
Referenced by DTExplore(), Explore(), InitCells(), PeekLast(), and PeekMax().
Bool_t TMVA::PDEFoam::GetFillFoamWithOrigWeights | ( | ) | const [inline] |
void TMVA::PDEFoam::SetMaxDepth | ( | UInt_t | maxdepth | ) | [inline] |
Definition at line 265 of file PDEFoam.h.
References fMaxDepth.
Referenced by TMVA::MethodPDEFoam::InitFoam().
UInt_t TMVA::PDEFoam::GetMaxDepth | ( | ) | const [inline] |
Definition at line 266 of file PDEFoam.h.
References fMaxDepth.
Referenced by PeekLast(), and PeekMax().
Definition at line 237 of file PDEFoam.cxx.
References Endl, fXmin, GetTotDim(), TMVA::kFATAL, and Log().
Referenced by TMVA::MethodPDEFoam::SetXminXmax().
Definition at line 247 of file PDEFoam.cxx.
References Endl, fXmax, GetTotDim(), TMVA::kFATAL, and Log().
Referenced by TMVA::MethodPDEFoam::SetXminXmax().
void TMVA::PDEFoam::AddVariableName | ( | const char * | s | ) | [inline] |
void TMVA::PDEFoam::AddVariableName | ( | TObjString * | s | ) | [inline] |
TObjString* TMVA::PDEFoam::GetVariableName | ( | Int_t | idx | ) | [inline] |
Definition at line 277 of file PDEFoam.h.
References TObjArray::At(), and fVariableNames.
Referenced by Plot().
void TMVA::PDEFoam::DeleteBinarySearchTree | ( | ) |
Definition at line 358 of file PDEFoam.h.
Referenced by Draw1Dim(), FillFoamCells(), TMVA::PDEFoamDistr::FillHist(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetCellValue(), GetProjectedRegValue(), Project2(), and VarTransform().
Definition at line 375 of file PDEFoam.h.
Referenced by TMVA::PDEFoamDistr::FillHist(), GetCellTargets(), PrintCell(), Project2(), and VarTransformInvers().
void TMVA::PDEFoam::CheckAll | ( | Int_t | ) |
Definition at line 957 of file PDEFoam.cxx.
References E, Endl, errors, fCells, fLastCe, TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetPare(), TMVA::PDEFoamCell::GetStat(), TMVA::PDEFoamCell::GetVolume(), TObject::Info(), TMVA::kFATAL, TMVA::kVERBOSE, and Log().
Referenced by Grow().
void TMVA::PDEFoam::PrintCell | ( | Long_t | iCell = 0 |
) |
Definition at line 1032 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, TMVA::PDEFoamCell::GetBest(), TMVA::PDEFoamCell::GetHcub(), TMVA::PDEFoamCell::GetXdiv(), TMVA::kWARNING, Log(), TMVA::PDEFoamCell::Print(), and VarTransformInvers().
Referenced by PrintCells().
void TMVA::PDEFoam::PrintCells | ( | ) |
void TMVA::PDEFoam::CheckCells | ( | Bool_t | remove_empty_cells = false |
) |
Definition at line 1129 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, TMVA::PDEFoamCell::GetVolume(), TMVA::kWARNING, Log(), and RemoveEmptyCell().
void TMVA::PDEFoam::RemoveEmptyCell | ( | Int_t | iCell | ) |
Definition at line 1077 of file PDEFoam.cxx.
References Endl, fCells, TMVA::PDEFoamCell::GetDau0(), TMVA::PDEFoamCell::GetDau1(), TMVA::PDEFoamCell::GetIntg(), TMVA::PDEFoamCell::GetPare(), TMVA::PDEFoamCell::GetVolume(), TMVA::kDEBUG, TMVA::kWARNING, Log(), TMVA::PDEFoamCell::SetDau0(), TMVA::PDEFoamCell::SetDau1(), TMVA::PDEFoamCell::SetPare(), and TMVA::PDEFoamCell::SetStat().
Referenced by CheckCells().
void TMVA::PDEFoam::PrintCellElements | ( | ) |
Definition at line 1158 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, GetCellElement(), GetNElements(), i, and Log().
MsgLogger& TMVA::PDEFoam::Log | ( | ) | const [inline] |
Definition at line 301 of file PDEFoam.h.
References fLogger.
Referenced by CalcCellDiscr(), CellFill(), CheckAll(), CheckCells(), Create(), Divide(), Draw1Dim(), DTExplore(), Explore(), FillFoamCells(), GetCellDensity(), GetCellDiscr(), GetCellElement(), GetCellRegValue0(), GetCellValue(), GetProjectedRegValue(), GetProjectionCellValue(), GetSeparation(), Grow(), InitCells(), TMVA::MethodPDEFoam::InitFoam(), OutputGrow(), PDEFoam(), PeekLast(), PeekMax(), PrintCell(), PrintCellElements(), Project2(), ReadStream(), ReadXML(), RemoveEmptyCell(), ResetCellElements(), RootPlot2dim(), SetCellElement(), SetDim(), SetInhiDiv(), SetXmax(), SetXmin(), WeightGaus(), and WeightLinNeighbors().
void TMVA::PDEFoam::ReadStream | ( | istream & | ) |
Definition at line 2758 of file PDEFoam.cxx.
References Endl, fLastCe, fNCells, fXmax, fXmin, GetTotDim(), i, TMVA::kERROR, TMVA::kVERBOSE, Log(), and SetVolumeFraction().
Referenced by TMVA::operator>>().
void TMVA::PDEFoam::PrintStream | ( | ostream & | ) | const |
Definition at line 2790 of file PDEFoam.cxx.
References fLastCe, fNCells, fXmax, fXmin, GetTotDim(), GetVolumeFraction(), and i.
Referenced by TMVA::operator<<().
void TMVA::PDEFoam::ReadXML | ( | void * | parent | ) |
Definition at line 2834 of file PDEFoam.cxx.
References Endl, fLastCe, fNCells, fXmax, fXmin, TMVA::Tools::GetChild(), TMVA::Tools::GetNextChild(), GetTotDim(), TMVA::gTools(), i, TMVA::kERROR, TMVA::kFATAL, Log(), TMVA::Tools::ReadAttr(), SetVolumeFraction(), and variables().
void TMVA::PDEFoam::AddXMLTo | ( | void * | parent | ) |
Definition at line 2808 of file PDEFoam.cxx.
References TMVA::Tools::AddAttr(), TMVA::Tools::AddChild(), fLastCe, fNCells, fXmax, fXmin, GetTotDim(), GetVolumeFraction(), TMVA::gTools(), i, and variables().
TH2D * TMVA::PDEFoam::Project2 | ( | Int_t | idim1, | |
Int_t | idim2, | |||
const char * | opt = "cell_value" , |
|||
const char * | ker = "kNone" , |
|||
UInt_t | maxbins = 50 | |||
) |
Definition at line 2177 of file PDEFoam.cxx.
References TString::Data(), Endl, fCells, TAxis::FindBin(), fLastCe, Form(), fXmax, fXmin, gDirectory, TDirectory::Get(), TH2D::GetBinContent(), GetFoamType(), TMVA::PDEFoamCell::GetHcub(), GetProjectionCellValue(), GetTotDim(), TH1::GetXaxis(), TH1::GetYaxis(), h1, i, TMVA::kDiscr, TMVA::kDiscriminator, TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kNone, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, TMVA::kWARNING, Log(), TMath::Max(), norm(), result(), TH2D::SetBinContent(), VarTransform(), VarTransformInvers(), WeightGaus(), WeightLinNeighbors(), x1, and x2.
Referenced by Plot().
Double_t TMVA::PDEFoam::GetProjectionCellValue | ( | PDEFoamCell * | cell, | |
Int_t | idim1, | |||
Int_t | idim2, | |||
ECellValue | cv | |||
) |
Definition at line 2372 of file PDEFoam.cxx.
References Endl, fXmax, fXmin, GetCellValue(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), TMVA::kDiscriminator, TMVA::kDiscriminatorError, TMVA::kFATAL, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kTarget0, TMVA::kWARNING, and Log().
Referenced by Project2(), and WeightLinNeighbors().
Definition at line 2080 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, Form(), fXmax, fXmin, gDirectory, TDirectory::Get(), TH1::GetBinCenter(), TH2D::GetBinContent(), GetCellValue(), GetFoamType(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), TMVA::PDEFoamCell::GetVolume(), h1, TMVA::kDiscr, TMVA::kDiscriminator, TMVA::kFATAL, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, TMVA::kWARNING, Log(), TH2D::SetBinContent(), and VarTransform().
Referenced by Plot().
void TMVA::PDEFoam::RootPlot2dim | ( | const TString & | filename, | |
TString | opt, | |||
Bool_t | CreateCanvas = kTRUE , |
|||
Bool_t | colors = kTRUE , |
|||
Bool_t | log_colors = kFALSE | |||
) |
Definition at line 2488 of file PDEFoam.cxx.
References TString::Contains(), Endl, fCells, fLastCe, fName, GetCellValue(), TStyle::GetColorPalette(), GetFoamType(), TStyle::GetNumberOfColors(), GetTotDim(), gStyle, TMVA::kDiscr, TMVA::kDiscriminator, kFALSE, TMVA::kFATAL, TMVA::kMonoTarget, TMVA::kMultiTarget, TMVA::kNev, TMVA::kRms, TMVA::kRmsOvMean, TMVA::kSeparate, TMVA::kTarget0, kTRUE, TMath::Log(), Log(), out, outfile, TStyle::SetPalette(), value, x, x1, x2, and y.
Double_t TMVA::PDEFoam::GetCellValue | ( | std::vector< Float_t > & | , | |
ECellValue | ||||
) |
Definition at line 1815 of file PDEFoam.cxx.
References FindCell(), GetCellValue(), and VarTransform().
Definition at line 1286 of file PDEFoam.cxx.
References Endl, fCells, FindCell(), fLastCe, GetCellValue(), TMVA::kDiscriminator, TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kNone, Log(), norm(), result(), VarTransform(), WeightGaus(), and WeightLinNeighbors().
Definition at line 1692 of file PDEFoam.cxx.
References Endl, fCells, FindCell(), fLastCe, GetCellValue(), TMVA::kDensity, TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kNone, Log(), norm(), result(), VarTransform(), WeightGaus(), and WeightLinNeighbors().
Double_t TMVA::PDEFoam::GetAverageNeighborsValue | ( | std::vector< Float_t > & | txvec, | |
ECellValue | cv | |||
) |
Definition at line 1468 of file PDEFoam.cxx.
References CellValueIsUndefined(), FindCell(), GetCellValue(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), norm(), and result().
Referenced by GetCellRegValue0(), and WeightLinNeighbors().
Definition at line 1401 of file PDEFoam.cxx.
References Endl, fCells, FindCell(), fLastCe, GetAverageNeighborsValue(), GetCellValue(), TMVA::kFATAL, TMVA::kGaus, TMVA::kLinN, TMVA::kNone, TMVA::kTarget0, TMVA::kTarget0Error, kTRUE, Log(), norm(), result(), VarTransform(), WeightGaus(), and WeightLinNeighbors().
std::vector< Float_t > TMVA::PDEFoam::GetProjectedRegValue | ( | std::vector< Float_t > & | vals, | |
EKernel | kernel = kNone , |
|||
ETargetSelection | ts = kMean | |||
) |
Definition at line 1613 of file PDEFoam.cxx.
References Endl, fCells, fLastCe, fXmax, fXmin, GetCellTargets(), TMVA::PDEFoamCell::GetHcub(), GetTotDim(), k, TMVA::kFATAL, TMVA::kGaus, TMVA::kNone, TMVA::kWARNING, l, Log(), norm(), val, VarTransform(), and WeightGaus().
PDEFoamDistr* TMVA::PDEFoam::GetDistr | ( | ) | const [inline, private] |
void TMVA::PDEFoam::OutputGrow | ( | Bool_t | finished = false |
) | [protected] |
Float_t TMVA::PDEFoam::WeightGaus | ( | PDEFoamCell * | , | |
std::vector< Float_t > & | , | |||
UInt_t | dim = 0 | |||
) | [protected] |
Double_t TMVA::PDEFoam::WeightLinNeighbors | ( | std::vector< Float_t > & | txvec, | |
ECellValue | cv, | |||
Int_t | dim1 = -1 , |
|||
Int_t | dim2 = -1 , |
|||
Bool_t | TreatEmptyCells = kFALSE | |||
) | [protected] |
void TMVA::PDEFoam::InitCells | ( | ) | [protected] |
Int_t TMVA::PDEFoam::CellFill | ( | Int_t | , | |
PDEFoamCell * | ||||
) | [protected] |
void TMVA::PDEFoam::Explore | ( | PDEFoamCell * | Cell | ) | [protected] |
void TMVA::PDEFoam::DTExplore | ( | PDEFoamCell * | Cell | ) | [protected] |
void TMVA::PDEFoam::MakeAlpha | ( | ) | [protected] |
void TMVA::PDEFoam::Grow | ( | ) | [protected] |
Long_t TMVA::PDEFoam::PeekMax | ( | ) | [protected] |
Long_t TMVA::PDEFoam::PeekLast | ( | ) | [protected] |
Int_t TMVA::PDEFoam::Divide | ( | PDEFoamCell * | ) | [protected] |
Double_t TMVA::PDEFoam::GetCellElement | ( | PDEFoamCell * | cell, | |
UInt_t | i | |||
) | [protected] |
void TMVA::PDEFoam::SetCellElement | ( | PDEFoamCell * | cell, | |
UInt_t | i, | |||
Double_t | value | |||
) | [protected] |
Double_t TMVA::PDEFoam::GetCellValue | ( | PDEFoamCell * | , | |
ECellValue | ||||
) | [protected] |
Bool_t TMVA::PDEFoam::CellValueIsUndefined | ( | PDEFoamCell * | ) | [protected] |
PDEFoamCell* TMVA::PDEFoam::FindCell | ( | std::vector< Float_t > & | ) | [protected] |
std::vector<TMVA::PDEFoamCell*> TMVA::PDEFoam::FindCells | ( | std::vector< Float_t > & | ) | [protected] |
void TMVA::PDEFoam::FindCellsRecursive | ( | std::vector< Float_t > & | , | |
PDEFoamCell * | , | |||
std::vector< PDEFoamCell * > & | ||||
) | [protected] |
std::vector<Float_t> TMVA::PDEFoam::GetCellTargets | ( | std::vector< Float_t > & | tvals, | |
ETargetSelection | ts | |||
) | [protected] |
Double_t TMVA::PDEFoam::GetBuildUpCellEvents | ( | PDEFoamCell * | cell | ) | [protected] |
void TMVA::PDEFoam::Init | ( | ) |
void TMVA::PDEFoam::Create | ( | ) |
void TMVA::PDEFoam::CalcCellDiscr | ( | ) |
void TMVA::PDEFoam::CalcCellTarget | ( | ) |
void TMVA::PDEFoam::ResetCellElements | ( | Bool_t | allcells = false |
) |
void TMVA::PDEFoam::SetDim | ( | Int_t | kDim | ) |
void TMVA::PDEFoam::SetnCells | ( | Long_t | nCells | ) | [inline] |
void TMVA::PDEFoam::SetnSampl | ( | Long_t | nSampl | ) | [inline] |
void TMVA::PDEFoam::SetnBin | ( | Int_t | nBin | ) | [inline] |
void TMVA::PDEFoam::SetEvPerBin | ( | Int_t | EvPerBin | ) | [inline] |
void TMVA::PDEFoam::SetNElements | ( | UInt_t | numb | ) | [inline] |
void TMVA::PDEFoam::SetVolumeFraction | ( | Float_t | vfr | ) | [inline] |
void TMVA::PDEFoam::SetFoamType | ( | EFoamType | ft | ) |
void TMVA::PDEFoam::SetFillFoamWithOrigWeights | ( | Bool_t | new_val | ) | [inline] |
void TMVA::PDEFoam::SetDTSeparation | ( | EDTSeparation | new_val | ) | [inline] |
void TMVA::PDEFoam::SetPeekMax | ( | Bool_t | new_val | ) | [inline] |
Int_t TMVA::PDEFoam::GetTotDim | ( | ) | const [inline] |
TString TMVA::PDEFoam::GetFoamName | ( | ) | const [inline] |
UInt_t TMVA::PDEFoam::GetNElements | ( | ) | const [inline] |
Float_t TMVA::PDEFoam::GetVolumeFraction | ( | ) | const [inline] |
EFoamType TMVA::PDEFoam::GetFoamType | ( | ) | const [inline] |
UInt_t TMVA::PDEFoam::GetNActiveCells | ( | ) | const [inline] |
UInt_t TMVA::PDEFoam::GetNInActiveCells | ( | ) | const [inline] |
UInt_t TMVA::PDEFoam::GetNCells | ( | ) | const [inline] |
PDEFoamCell* TMVA::PDEFoam::GetRootCell | ( | ) | const [inline] |
void TMVA::PDEFoam::SetNmin | ( | UInt_t | val | ) | [inline] |
UInt_t TMVA::PDEFoam::GetNmin | ( | ) | [inline] |
Bool_t TMVA::PDEFoam::GetFillFoamWithOrigWeights | ( | ) | const [inline] |
void TMVA::PDEFoam::SetMaxDepth | ( | UInt_t | maxdepth | ) | [inline] |
UInt_t TMVA::PDEFoam::GetMaxDepth | ( | ) | const [inline] |
void TMVA::PDEFoam::AddVariableName | ( | const char * | s | ) | [inline] |
void TMVA::PDEFoam::AddVariableName | ( | TObjString * | s | ) | [inline] |
TObjString* TMVA::PDEFoam::GetVariableName | ( | Int_t | idx | ) | [inline] |
void TMVA::PDEFoam::DeleteBinarySearchTree | ( | ) |
void TMVA::PDEFoam::CheckAll | ( | Int_t | ) |
void TMVA::PDEFoam::PrintCell | ( | Long_t | iCell = 0 |
) |
void TMVA::PDEFoam::PrintCells | ( | ) |
void TMVA::PDEFoam::CheckCells | ( | Bool_t | remove_empty_cells = false |
) |
void TMVA::PDEFoam::RemoveEmptyCell | ( | Int_t | iCell | ) |
void TMVA::PDEFoam::PrintCellElements | ( | ) |
MsgLogger& TMVA::PDEFoam::Log | ( | ) | const [inline] |
void TMVA::PDEFoam::ReadStream | ( | istream & | ) |
void TMVA::PDEFoam::PrintStream | ( | ostream & | ) | const |
void TMVA::PDEFoam::ReadXML | ( | void * | parent | ) |
void TMVA::PDEFoam::AddXMLTo | ( | void * | parent | ) |
TH2D* TMVA::PDEFoam::Project2 | ( | Int_t | idim1, | |
Int_t | idim2, | |||
const char * | opt = "cell_value" , |
|||
const char * | ker = "kNone" , |
|||
UInt_t | maxbins = 50 | |||
) |
Double_t TMVA::PDEFoam::GetProjectionCellValue | ( | PDEFoamCell * | cell, | |
Int_t | idim1, | |||
Int_t | idim2, | |||
ECellValue | cv | |||
) |
void TMVA::PDEFoam::RootPlot2dim | ( | const TString & | filename, | |
TString | opt, | |||
Bool_t | CreateCanvas = kTRUE , |
|||
Bool_t | colors = kTRUE , |
|||
Bool_t | log_colors = kFALSE | |||
) |
Double_t TMVA::PDEFoam::GetCellValue | ( | std::vector< Float_t > & | , | |
ECellValue | ||||
) |
Double_t TMVA::PDEFoam::GetAverageNeighborsValue | ( | std::vector< Float_t > & | txvec, | |
ECellValue | cv | |||
) |
std::vector<Float_t> TMVA::PDEFoam::GetProjectedRegValue | ( | std::vector< Float_t > & | vals, | |
EKernel | kernel = kNone , |
|||
ETargetSelection | ts = kMean | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const PDEFoam & | pdefoam | |||
) | [friend] |
std::istream& operator>> | ( | std::istream & | istr, | |
PDEFoam & | pdefoam | |||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const PDEFoam & | pdefoam | |||
) | [friend] |
std::istream& operator>> | ( | std::istream & | istr, | |
PDEFoam & | pdefoam | |||
) | [friend] |
TString TMVA::PDEFoam::fName [protected] |
Definition at line 111 of file PDEFoam.h.
Referenced by Create(), GetFoamName(), and RootPlot2dim().
Int_t TMVA::PDEFoam::fDim [protected] |
Definition at line 112 of file PDEFoam.h.
Referenced by Create(), DTExplore(), Explore(), GetTotDim(), InitCells(), and SetDim().
Int_t TMVA::PDEFoam::fNCells [protected] |
Definition at line 113 of file PDEFoam.h.
Referenced by AddXMLTo(), CellFill(), Divide(), GetNCells(), Grow(), InitCells(), OutputGrow(), PrintStream(), ReadStream(), ReadXML(), ResetCellElements(), SetnCells(), and ~PDEFoam().
Int_t TMVA::PDEFoam::fNBin [protected] |
Int_t TMVA::PDEFoam::fNSampl [protected] |
Int_t TMVA::PDEFoam::fEvPerBin [protected] |
Int_t* TMVA::PDEFoam::fMaskDiv [protected] |
Int_t* TMVA::PDEFoam::fInhiDiv [protected] |
[fDim] Dynamic Mask for cell division
Definition at line 120 of file PDEFoam.h.
Referenced by Create(), Explore(), SetInhiDiv(), and ~PDEFoam().
Int_t TMVA::PDEFoam::fNoAct [protected] |
[fDim] Flags for inhibiting cell division
Definition at line 122 of file PDEFoam.h.
Referenced by Divide(), and GetNActiveCells().
Int_t TMVA::PDEFoam::fLastCe [protected] |
Definition at line 123 of file PDEFoam.h.
Referenced by AddXMLTo(), CalcCellDiscr(), CalcCellTarget(), CellFill(), CheckAll(), CheckCells(), Divide(), Draw1Dim(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetProjectedRegValue(), Grow(), InitCells(), OutputGrow(), PeekLast(), PeekMax(), PrintCell(), PrintCellElements(), PrintCells(), PrintStream(), Project2(), ReadStream(), ReadXML(), ResetCellElements(), and RootPlot2dim().
PDEFoamCell** TMVA::PDEFoam::fCells [protected] |
Definition at line 124 of file PDEFoam.h.
Referenced by CalcCellDiscr(), CalcCellTarget(), CellFill(), CheckAll(), CheckCells(), Divide(), Draw1Dim(), Explore(), FindCell(), FindCells(), GetCellDensity(), GetCellDiscr(), GetCellRegValue0(), GetProjectedRegValue(), GetRootCell(), Grow(), InitCells(), PeekLast(), PeekMax(), PrintCell(), PrintCellElements(), Project2(), RemoveEmptyCell(), ResetCellElements(), RootPlot2dim(), and ~PDEFoam().
TObjArray* TMVA::PDEFoam::fHistEdg [protected] |
Double_t* TMVA::PDEFoam::fRvec [protected] |
TRandom3* TMVA::PDEFoam::fPseRan [protected] |
Double_t* TMVA::PDEFoam::fAlpha [protected] |
Definition at line 131 of file PDEFoam.h.
Referenced by Create(), Explore(), MakeAlpha(), and ~PDEFoam().
EFoamType TMVA::PDEFoam::fFoamType [protected] |
Double_t* TMVA::PDEFoam::fXmin [protected] |
Definition at line 134 of file PDEFoam.h.
Referenced by AddXMLTo(), Draw1Dim(), GetCellTargets(), GetProjectedRegValue(), GetProjectionCellValue(), GetXmin(), PrintStream(), Project2(), ReadStream(), ReadXML(), SetDim(), SetXmin(), VarTransform(), VarTransformInvers(), and ~PDEFoam().
Double_t* TMVA::PDEFoam::fXmax [protected] |
Definition at line 135 of file PDEFoam.h.
Referenced by AddXMLTo(), Draw1Dim(), GetCellTargets(), GetProjectedRegValue(), GetProjectionCellValue(), GetXmax(), PrintStream(), Project2(), ReadStream(), ReadXML(), SetDim(), SetXmax(), VarTransform(), VarTransformInvers(), and ~PDEFoam().
UInt_t TMVA::PDEFoam::fNElements [protected] |
UInt_t TMVA::PDEFoam::fNmin [protected] |
UInt_t TMVA::PDEFoam::fMaxDepth [protected] |
Float_t TMVA::PDEFoam::fVolFrac [protected] |
Definition at line 139 of file PDEFoam.h.
Referenced by GetVolumeFraction(), and SetVolumeFraction().
Bool_t TMVA::PDEFoam::fFillFoamWithOrigWeights [protected] |
Definition at line 140 of file PDEFoam.h.
Referenced by FillFoamCells(), GetFillFoamWithOrigWeights(), and SetFillFoamWithOrigWeights().
EDTSeparation TMVA::PDEFoam::fDTSeparation [protected] |
Definition at line 141 of file PDEFoam.h.
Referenced by Divide(), GetSeparation(), InitCells(), and SetDTSeparation().
Bool_t TMVA::PDEFoam::fPeekMax [protected] |
PDEFoamDistr* TMVA::PDEFoam::fDistr [protected] |
Definition at line 143 of file PDEFoam.h.
Referenced by Create(), DeleteBinarySearchTree(), DTExplore(), Eval(), GetDistr(), and ~PDEFoam().
Timer* TMVA::PDEFoam::fTimer [protected] |
distribution of training events
Definition at line 144 of file PDEFoam.h.
Referenced by Grow(), OutputGrow(), and ~PDEFoam().
TObjArray* TMVA::PDEFoam::fVariableNames [protected] |
Definition at line 145 of file PDEFoam.h.
Referenced by AddVariableName(), GetVariableName(), and ~PDEFoam().
MsgLogger* TMVA::PDEFoam::fLogger [mutable, protected] |
Int_t* TMVA::PDEFoam::fMaskDiv [protected] |
Int_t* TMVA::PDEFoam::fInhiDiv [protected] |
PDEFoamCell** TMVA::PDEFoam::fCells [protected] |
TObjArray* TMVA::PDEFoam::fHistEdg [protected] |
Double_t* TMVA::PDEFoam::fRvec [protected] |
TRandom3* TMVA::PDEFoam::fPseRan [protected] |
Double_t* TMVA::PDEFoam::fAlpha [protected] |
Double_t* TMVA::PDEFoam::fXmin [protected] |
Double_t* TMVA::PDEFoam::fXmax [protected] |
PDEFoamDistr* TMVA::PDEFoam::fDistr [protected] |
Timer* TMVA::PDEFoam::fTimer [protected] |
TObjArray* TMVA::PDEFoam::fVariableNames [protected] |
MsgLogger* TMVA::PDEFoam::fLogger [mutable, protected] |