Warning, file /include/root/TMVA/MethodBayesClassifier.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 #ifndef ROOT_TMVA_MethodBayesClassifier
0029 #define ROOT_TMVA_MethodBayesClassifier
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039 #include "TMVA/MethodBase.h"
0040 #include "TMVA/Types.h"
0041
0042 namespace TMVA {
0043
0044 class MethodBayesClassifier : public MethodBase {
0045
0046 public:
0047
0048 MethodBayesClassifier( const TString& jobName,
0049 const TString& methodTitle,
0050 DataSetInfo& theData,
0051 const TString& theOption = "");
0052
0053 MethodBayesClassifier( DataSetInfo& theData,
0054 const TString& theWeightFile);
0055
0056 virtual ~MethodBayesClassifier( void );
0057
0058 Bool_t HasAnalysisType( Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets ) override;
0059
0060
0061 void Train( void ) override;
0062
0063 using MethodBase::ReadWeightsFromStream;
0064
0065
0066 void AddWeightsXMLTo( void* parent ) const override;
0067
0068
0069 void ReadWeightsFromStream( std::istream& istr ) override;
0070 void ReadWeightsFromXML ( void* ) override {}
0071
0072
0073 Double_t GetMvaValue( Double_t* err = nullptr, Double_t* errUpper = nullptr ) override;
0074
0075 void Init( void ) override;
0076
0077
0078 const Ranking* CreateRanking() override { return nullptr; }
0079
0080 protected:
0081
0082
0083 void MakeClassSpecific( std::ostream&, const TString& ) const override;
0084
0085
0086 void GetHelpMessage() const override;
0087
0088 private:
0089
0090
0091 void DeclareOptions() override;
0092 void ProcessOptions() override;
0093
0094 ClassDefOverride(MethodBayesClassifier,0);
0095 };
0096
0097 }
0098
0099 #endif