15 #ifndef ROOT_TMVA_PyMethodBase 16 #define ROOT_TMVA_PyMethodBase 44 #include "numpy/numpyconfig.h" 46 #if (NPY_API_VERSION >= 0x00000007 ) 47 struct tagPyArrayObject;
48 typedef tagPyArrayObject PyArrayObject;
94 virtual void Train() = 0;
96 virtual void Init() = 0;
PyMethodBase(const TString &jobName, Types::EMVA methodType, const TString &methodTitle, DataSetInfo &dsi, const TString &theOption="")
virtual void AddWeightsXMLTo(void *parent) const =0
static PyObject * fModulePickle
virtual void DeclareOptions()=0
Base class for spline implementation containing the Draw/Paint methods //.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
tomato 1-D histogram with a float per channel (see TH1 documentation)}
static void Serialize(TString file, PyObject *classifier)
PyArrayObject * fTrainDataClasses
static int PyIsInitialized()
Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)=0
static void PyInitialize()
#define ClassDef(name, id)
virtual void ReadModelFromFile()=0
virtual void ReadWeightsFromStream(TFile &)
static PyObject * Eval(TString code)
PyArrayObject * fTrainDataWeights
virtual std::vector< Double_t > GetMvaValues(Long64_t firstEvt=0, Long64_t lastEvt=-1, Bool_t logProgress=false)
get all the MVA values for the events of the current Data type
virtual void ReadWeightsFromStream(std::istream &)=0
static TString Py_GetProgramName()
virtual const Ranking * CreateRanking()=0
static void PySetProgramName(TString name)
PyArrayObject * fTrainData
tomato 1-D histogram with a double per channel (see TH1 documentation)}
virtual void ReadWeightsFromXML(void *wghtnode)=0
static PyObject * fLocalNS
static PyObject * fModuleBuiltin
Describe directory structure in memory.
virtual Double_t GetMvaValue(Double_t *errLower=0, Double_t *errUpper=0)=0
virtual void ProcessOptions()=0
Abstract ClassifierFactory template that handles arbitrary types.
static PyObject * fPickleLoads
static PyObject * fPickleDumps
A Graph is a graphics object made of two arrays X and Y with npoints each.
A TTree object has a header with a name and a title.
static void UnSerialize(TString file, PyObject **obj)
static PyObject * fGlobalNS