26#ifndef ROOT_TMVA_MethodPyTorch
27#define ROOT_TMVA_MethodPyTorch
47 void Train()
override;
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
long long Long64_t
Portable signed long integer 8 bytes.
#define ClassDefOverride(name, id)
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
Class that contains all the data information.
void ReadWeightsFromStream(std::istream &) override
void InitEvaluation(size_t nEvents)
void GetHelpMessage() const override
const Ranking * CreateRanking() override
Double_t GetMvaValue(Double_t *errLower, Double_t *errUpper) override
std::vector< Float_t > & GetRegressionValues() override
void ProcessOptions() override
Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t) override
std::vector< float > fOutput
void ReadModelFromFile() override
MethodPyTorch(const TString &jobName, const TString &methodTitle, DataSetInfo &dsi, const TString &theOption="")
std::vector< Float_t > GetAllMulticlassValues() override
Get all multi-class values.
void ReadWeightsFromStream(TFile &) override
std::vector< Double_t > GetMvaValues(Long64_t firstEvt, Long64_t lastEvt, Bool_t logProgress) override
get all the MVA values for the events of the current Data type
void ReadWeightsFromXML(void *) override
std::vector< float > fVals
std::vector< Float_t > & GetMulticlassValues() override
std::vector< Float_t > GetAllRegressionValues() override
Get al regression values in one call.
void TestClassification() override
initialization
TString fNumValidationString
UInt_t GetNumValidationSamples()
Validation of the ValidationSize option.
TString fLearningRateSchedule
void AddWeightsXMLTo(void *) const override
TString fFilenameTrainedModel
void SetupPyTorchModel(Bool_t loadTrainedModel)
void DeclareOptions() override
PyMethodBase(const TString &jobName, Types::EMVA methodType, const TString &methodTitle, DataSetInfo &dsi, const TString &theOption="")
Ranking for variables in method (implementation).
create variable transformations