Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Modeler v4.9.0
|
TGLM.h
Go to the documentation of this file.
40 \li Assign starting values to the parameters \f$ beta^{(0)}\f$, generally by resolving the Least Squares Normal equations (i.e. without weights);
42 \li Update the weights using the new estimated mean vector: \f$ \frac{1}{v^(i+1)} = \var(\mu^{i}) * f(\mu^{i}) \f$
44 \li Repeat the thre last steps until convergence (\em i.e. \f$ X\hat{\Beta^{i}} - X\hat{\Beta^{i+1}}\f$ is sufficiently close to zero).
89 \param architecture(TString) The architecture (input and output attributes) of the model separated by the caracter ":"
97 \param varexpinput(const char*)[""] The list of input attributes to pass to the function separated by the caracter ":"
98 \param varexpoutput (const char *)[""] The list of output attributes separated by the caracter ":"
Interface of the class URANIE::Optimize::TModeler.
Definition TGLM.h:59
void setFamily(EDistribution nYDistribution=kUnknown, ELinkFunctin nLinkFunction=kCanonical)
Set the family of error (Distribution of and Link Function)
TVectorD getInitialBeta()
Get the initial parameter.
Definition TGLM.h:168
void exportModelPMML(const char *file="", const char *name="", Option_t *option="") const
Export the model in a PMML file (not yet implemented)
Definition TGLM.h:209
Double_t _dTolerance
The tolerance to stop algorithm (default 1.e-6)
Definition TGLM.h:77
Int_t _nIteration
the number of iteration at convergence (default 0)
Definition TGLM.h:73
void printLog(Option_t *option="")
TGLM(URANIE::DataServer::TDataServer *tds, const char *varexpinput, const char *varexpoutput, Option_t *option="")
Default constructor with input and output attributes.
Int_t _nMaxIteration
the number of maximum iteration (default 25)
Definition TGLM.h:74
ELinkFunctin getLinkFunction()
Return the link function.
Definition TGLM.h:124
EDistribution getYDistribution()
Return the type of Y distribution.
Definition TGLM.h:119
void exportModelPython(std::ofstream *sourcefile) const
Export the model in Python langage in a file (not yet implemented)
Definition TGLM.h:227
ELinkFunctin _nLinkFunction
The link function (default kCanonical)
Definition TGLM.h:72
Double_t getNullDeviance()
Get the Null Deviance value.
Definition TGLM.h:156
TGLM(URANIE::DataServer::TDataServer *tds, TString architecture, Option_t *option="")
Default constructor with the TDataServer and the architecture.
void exportModelCplusplus(std::ofstream *sourcefile) const
Export the model in C++ langage in a file.
void estimate(Option_t *option="")
Int_t getMaxIteration()
Get the number of maximum iteration.
Definition TGLM.h:140
void setMaxIteration(Int_t n)
Set the number of maximum iteration.
Definition TGLM.h:129
EDistribution _nDistribution
The type of Y distribution.
Definition TGLM.h:71
void exportModelFortran(std::ofstream *sourcefile) const
Export the model in Fortran langage in a file.
void setTolerance(Double_t dtol)
Set the Tolerance.
Definition TGLM.h:145
Double_t _dResidualDeviance
The Residual Deviance value.
Definition TGLM.h:79
void fillData(TMatrixD &Aw, TVectorD &yw, TMatrixD &matY)
Fill the data in a TMatrix and a TVector.
Double_t _dNullDeviance
The Null Deviance value.
Definition TGLM.h:78
Double_t getResidualDeviance()
Get the Residual Deviance value.
Definition TGLM.h:161
Int_t getNIteration()
Get the number iterations at convergence.
Definition TGLM.h:135
Definition TModeler.h:63