Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
MVATrainer
plugins
MLP.h
Go to the documentation of this file.
1
#ifndef __private_MLP_h
2
#define __private_MLP_h
3
#include <string>
4
namespace
PhysicsTools
{
5
6
class
MLP
{
7
public
:
8
MLP
(
unsigned
int
nIn,
unsigned
int
nOut,
const
std::string
layout
);
9
~MLP
();
10
11
void
clear
();
12
void
init
(
unsigned
int
rows
);
13
void
set
(
unsigned
int
row,
double
*
data
,
double
*
target
,
double
weight
= 1.0);
14
double
train
();
15
const
double
*
eval
(
double
*data)
const
;
16
void
save
(
const
std::string
file
)
const
;
17
void
load
(
const
std::string
file);
18
19
inline
unsigned
int
getEpoch
()
const
{
return
epoch
; }
20
inline
int
getLayers
()
const
{
return
layers
; }
21
inline
const
int
*
getLayout
()
const
{
return
layout
; }
22
23
private
:
24
void
setLearn
(
void
);
25
void
setNPattern
(
unsigned
int
size
);
26
27
bool
initialized
;
28
int
layers
;
29
int
*
layout
;
30
31
unsigned
int
epoch
;
32
static
bool
inUse
;
33
};
34
35
}
// namespace PhysicsTools
36
37
#endif // _private_MLP_h
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
PhysicsTools::MLP::eval
const double * eval(double *data) const
Definition:
MLP.cc:147
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PhysicsTools::MLP::setNPattern
void setNPattern(unsigned int size)
Definition:
MLP.cc:114
edmPickEvents.target
target
Definition:
edmPickEvents.py:310
weight
Definition:
weight.py:1
PhysicsTools::MLP::getLayers
int getLayers() const
Definition:
MLP.h:20
PhysicsTools::MLP::getEpoch
unsigned int getEpoch() const
Definition:
MLP.h:19
PhysicsTools::MLP::inUse
static bool inUse
Definition:
MLP.h:32
PhysicsTools::MLP::load
void load(const std::string file)
Definition:
MLP.cc:161
PhysicsTools::MLP
Definition:
MLP.h:6
PhysicsTools::MLP::epoch
unsigned int epoch
Definition:
MLP.h:31
PhysicsTools::MLP::MLP
MLP(unsigned int nIn, unsigned int nOut, const std::string layout)
Definition:
MLP.cc:43
PhysicsTools::MLP::layers
int layers
Definition:
MLP.h:28
PhysicsTools::MLP::initialized
bool initialized
Definition:
MLP.h:27
FrontierConditions_GlobalTag_cff.file
file
Definition:
FrontierConditions_GlobalTag_cff.py:13
tablePrinter.rows
rows
Definition:
tablePrinter.py:57
PhysicsTools::MLP::setLearn
void setLearn(void)
Definition:
MLP.cc:102
PhysicsTools
Definition:
Histogram.h:13
PhysicsTools::MLP::~MLP
~MLP()
Definition:
MLP.cc:81
PhysicsTools::MLP::layout
int * layout
Definition:
MLP.h:29
PhysicsTools::MLP::clear
void clear()
Definition:
MLP.cc:90
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
PhysicsTools::MLP::train
double train()
Definition:
MLP.cc:139
PhysicsTools::MLP::save
void save(const std::string file) const
Definition:
MLP.cc:154
PhysicsTools::MLP::getLayout
const int * getLayout() const
Definition:
MLP.h:21
PhysicsTools::MLP::init
void init(unsigned int rows)
Definition:
MLP.cc:122
Generated for CMSSW Reference Manual by
1.8.11