26 #ifndef ROOT_TMVA_MethodKNN 27 #define ROOT_TMVA_MethodKNN 41 #ifndef ROOT_TMVA_MethodBase 44 #ifndef ROOT_TMVA_ModulekNN 67 const TString& theOption =
"KNN",
81 const std::vector<Float_t>& GetRegressionValues();
85 void WriteWeightsToStream(
TFile& rf)
const;
86 void AddWeightsXMLTo(
void* parent )
const;
87 void ReadWeightsFromXML(
void* wghtnode );
89 void ReadWeightsFromStream(std::istream& istr);
90 void ReadWeightsFromStream(
TFile &rf);
97 void MakeClassSpecific( std::ostream&,
const TString& )
const;
100 void GetHelpMessage()
const;
105 void DeclareOptions();
106 void ProcessOptions();
107 void DeclareCompatibilityOptions();
113 void MakeKNN(
void );
120 const std::vector<Double_t> getRMS(
const kNN::List &rlist,
const kNN::Event &event_knn)
const;
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
#define ClassDef(name, id)
void Init(TClassEdit::TInterpreterLookupHelper *helper)
std::vector< TMVA::kNN::Event > EventVec
LDA fLDA
(untouched) events used for learning
Int_t fTreeOptDepth
Experimental feature for local knn analysis.
Describe directory structure in memory.
Abstract ClassifierFactory template that handles arbitrary types.
virtual void ReadWeightsFromStream(std::istream &)=0
Int_t fnkNN
module where all work is done