PandaRoot
PndKnnTrain.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
/* ************************************
14
* Author: M. Babai (M.Babai@rug.nl) *
15
* *
16
* pid classifier *
17
* *
18
* Modified: *
19
* *
20
* ************************************/
21
//#pragma once
22
#ifndef PND_KNN_TRAIN_H
23
#define PND_KNN_TRAIN_H
24
25
#include "
PndMvaTrainer.h
"
26
27
class
PndKnnTrain
:
public
PndMvaTrainer
{
28
public
:
36
explicit
PndKnnTrain
(std::string
const
&InputFile, std::vector<std::string>
const
&ClassNames, std::vector<std::string>
const
&VarNames,
bool
trim =
true
);
40
virtual
~PndKnnTrain
();
41
45
void
Train
();
46
51
void
storeWeights
();
52
53
private
:
55
PndKnnTrain
(
PndKnnTrain
const
&other);
56
PndKnnTrain
&operator=(
PndKnnTrain
const
&other);
57
};
58
// end of interface definition
59
#endif
PndKnnTrain::storeWeights
void storeWeights()
PndKnnTrain::PndKnnTrain
PndKnnTrain(std::string const &InputFile, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames, bool trim=true)
PndKnnTrain::~PndKnnTrain
virtual ~PndKnnTrain()
PndMvaTrainer
Definition:
PndMvaTrainer.h:45
PndKnnTrain
Definition:
PndKnnTrain.h:27
PndKnnTrain::Train
void Train()
PndMvaTrainer.h
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
tools
MVA
TMVAkd_KNN
PndKnnTrain.h
Generated on Fri Nov 29 2024 06:04:43 for PandaRoot by
1.8.13