![]() |
PandaRoot
|
#include <PndProjectedKNN.h>
Public Member Functions | |
| PndProjectedKNN (std::string const &inputFile, std::vector< std::string > const &classNames, std::vector< std::string > const &varNames, std::vector< std::vector< std::string >> const &varCombinations) | |
| Constructor. More... | |
| virtual | ~PndProjectedKNN () |
| Destructor. More... | |
| void | GetMvaValues (std::vector< float > eventData, std::map< std::string, float > &result) |
| Get pdf's. More... | |
| std::string * | Classify (std::vector< float > EvtData) |
| Classify Current event. More... | |
| void | SetEvtParam (float const scFact, double const weight) |
| Set params. More... | |
| void | SetKnn (unsigned int const val) |
| Set number of neighbors. More... | |
| void | InitKNN () |
| Init classifiers. More... | |
Public Member Functions inherited from PndMvaClassifier | |
| PndMvaClassifier (std::string const &InPut, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames) | |
| Constructor. More... | |
| virtual | ~PndMvaClassifier () |
| Destructor. More... | |
| virtual void | Initialize () |
| std::vector< PndMvaClass > const & | GetClasses () const |
| Get the list of available classes (labels). More... | |
| std::vector< PndMvaVariable > const & | GetVariables () const |
| Get the list of available variables. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PndMvaClassifier | |
| virtual void | NormalizeEvent (std::vector< float > &EvtVector) const |
| Normalize the given event vector. More... | |
| void | SetAppType (AppType t) |
Protected Attributes inherited from PndMvaClassifier | |
| PndMvaDataSet | m_dataSets |
| Data set. Holds event Weights. More... | |
Definition at line 16 of file PndProjectedKNN.h.
|
explicit |
Constructor.
|
virtual |
Destructor.
|
virtual |
Classify Current event.
Implements PndMvaClassifier.
|
virtual |
Get pdf's.
Implements PndMvaClassifier.
| void PndProjectedKNN::InitKNN | ( | ) |
Init classifiers.
|
inline |
Set params.
Definition at line 58 of file PndProjectedKNN.h.
|
inline |
Set number of neighbors.
Definition at line 64 of file PndProjectedKNN.h.