30 #ifndef ROOT_TMVA_MethodLD
31 #define ROOT_TMVA_MethodLD
50 class MethodLD :
public MethodBase {
55 MethodLD(
const TString& jobName,
56 const TString& methodTitle,
58 const TString& theOption =
"LD");
61 MethodLD( DataSetInfo& dsi,
62 const TString& theWeightFile);
65 virtual ~MethodLD(
void );
67 Bool_t HasAnalysisType( Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets );
73 Double_t GetMvaValue( Double_t* err = 0, Double_t* errUpper = 0 );
76 virtual const std::vector<Float_t>& GetRegressionValues();
78 using MethodBase::ReadWeightsFromStream;
80 void AddWeightsXMLTo (
void* parent )
const;
82 void ReadWeightsFromStream( std::istream & i );
83 void ReadWeightsFromXML (
void* wghtnode );
85 const Ranking* CreateRanking();
86 void DeclareOptions();
87 void ProcessOptions();
91 void MakeClassSpecific( std::ostream&,
const TString& )
const;
92 void GetHelpMessage()
const;
99 TMatrixD *fSumValMatx;
100 TMatrixD *fCoeffMatx;
101 std::vector< std::vector<Double_t>* > *fLDCoeff;
107 void InitMatrices(
void );
113 void GetSumVal(
void );
116 void GetLDCoeff(
void );
119 void PrintCoefficients(
void );
121 ClassDef(MethodLD,0);