PandaRoot
PndKnnTrain.h
Go to the documentation of this file.
1 /* ************************************
2  * Author: M. Babai (M.Babai@rug.nl) *
3  * *
4  * pid classifier *
5  * *
6  * Modified: *
7  * *
8  * ************************************/
9 //#pragma once
10 #ifndef PND_KNN_TRAIN_H
11 #define PND_KNN_TRAIN_H
12 
13 #include "PndMvaTrainer.h"
14 
15 class PndKnnTrain : public PndMvaTrainer {
16  public:
24  explicit PndKnnTrain(std::string const &InputFile, std::vector<std::string> const &ClassNames, std::vector<std::string> const &VarNames, bool trim = true);
28  virtual ~PndKnnTrain();
29 
33  void Train();
34 
39  void storeWeights();
40 
41  private:
43  PndKnnTrain(PndKnnTrain const &other);
44  PndKnnTrain &operator=(PndKnnTrain const &other);
45 };
46 // end of interface definition
47 #endif
void storeWeights()
PndKnnTrain(std::string const &InputFile, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames, bool trim=true)
virtual ~PndKnnTrain()
void Train()