English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TBootstrap.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TBootstrap.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
17
25#ifndef _TBootstrap
26#define _TBootstrap
27
28#include "Rtypes.h"
29
30#include "TMultiLayerPerceptron.h"
31#include "TNtuple.h"
32#include "TObject.h"
33#include "TNamed.h"
34#include "TPatternsEventList.h"
35
36#include <ctime>
37
38class TBootstrap: public TNamed
39{
40
41private:
42 Double_t _dLowerQuantile;
43 Double_t _dUpperQuantile;
44
45public:
46
47 TMultiLayerPerceptron* mlp;
48 Int_t nb_bases;
49 Bool_t bLog;
50 URANIE::DataServer::TPatternsEventList *_belApp;
51 TEventList *_telApp;
52
53public:
54 TBootstrap(TMultiLayerPerceptron* mlp_cons, Int_t nbbases_cons,
55 Bool_t bLog_cons = kFALSE);
56 virtual ~TBootstrap();
57 void Train(Int_t nb_epochs, Option_t * option, TString pmml_name);
58 Bool_t BuildBootTraining(Int_t iter);
59 void setQuantiles(Double_t dlow, Double_t dupp);
60 Double_t RMSmu(Long64_t n, const Double_t *a, Double_t mu);ClassDef(TBootstrap, ID_MODELER)
61};
62
63#endif
Definition TBootstrap.h:39
Bool_t bLog
Log Printing.
Definition TBootstrap.h:49
Bool_t BuildBootTraining(Int_t iter)
Definition TBootstrap.cxx:404
void Train(Int_t nb_epochs, Option_t *option, TString pmml_name)
Definition TBootstrap.cxx:85
void setQuantiles(Double_t dlow, Double_t dupp)
Definition TBootstrap.cxx:429
URANIE::DataServer::TPatternsEventList * _belApp
Definition TBootstrap.h:50
Double_t _dUpperQuantile
The lower quantile [0.10].
Definition TBootstrap.h:43
virtual ~TBootstrap()
Definition TBootstrap.cxx:74
TMultiLayerPerceptron * mlp
The upper quantile [0.90].
Definition TBootstrap.h:47
Int_t nb_bases
Number of bootstraped basis to generate.
Definition TBootstrap.h:48
Double_t RMSmu(Long64_t n, const Double_t *a, Double_t mu)
Definition TBootstrap.cxx:456
TEventList * _telApp
Definition TBootstrap.h:51
Double_t _dLowerQuantile
Definition TBootstrap.h:42