#include "TMVA/MethodBayesClassifier.h"
#include "Riostream.h"
ClassImp(TMVA::MethodBayesClassifier)
TMVA::MethodBayesClassifier::MethodBayesClassifier( const TString& jobName, const TString& methodTitle, DataSet& theData,
const TString& theOption, TDirectory* theTargetDir )
: TMVA::MethodBase( jobName, methodTitle, theData, theOption, theTargetDir )
{
InitBayesClassifier();
}
TMVA::MethodBayesClassifier::MethodBayesClassifier( DataSet& theData,
const TString& theWeightFile,
TDirectory* theTargetDir )
: TMVA::MethodBase( theData, theWeightFile, theTargetDir )
{
InitBayesClassifier();
}
void TMVA::MethodBayesClassifier::InitBayesClassifier( void )
{
SetMethodName( "BayesClassifier" );
SetMethodType( TMVA::Types::kBayesClassifier );
SetTestvarName();
}
void TMVA::MethodBayesClassifier::DeclareOptions()
{
}
void TMVA::MethodBayesClassifier::ProcessOptions()
{
MethodBase::ProcessOptions();
}
TMVA::MethodBayesClassifier::~MethodBayesClassifier( void )
{
}
void TMVA::MethodBayesClassifier::Train( void )
{
if (!CheckSanity()) fLogger << kFATAL << "<Train> sanity check failed" << Endl;
}
void TMVA::MethodBayesClassifier::WriteWeightsToStream( ostream & o ) const
{
o << "whatever" << endl;
}
void TMVA::MethodBayesClassifier::ReadWeightsFromStream( istream & istr )
{
if (istr.eof()) {}
}
Double_t TMVA::MethodBayesClassifier::GetMvaValue()
{
Double_t myMVA = 0;
return myMVA;
}
void TMVA::MethodBayesClassifier::MakeClassSpecific( std::ostream& fout, const TString& className ) const
{
fout << " // not implemented for class: \"" << className << "\"" << endl;
fout << "};" << endl;
}
void TMVA::MethodBayesClassifier::GetHelpMessage() const
{
fLogger << Endl;
fLogger << gTools().Color("bold") << "--- Short description:" << gTools().Color("reset") << Endl;
fLogger << Endl;
fLogger << "<None>" << Endl;
fLogger << Endl;
fLogger << gTools().Color("bold") << "--- Performance optimisation:" << gTools().Color("reset") << Endl;
fLogger << Endl;
fLogger << "<None>" << Endl;
fLogger << Endl;
fLogger << gTools().Color("bold") << "--- Performance tuning via configuration options:" << gTools().Color("reset") << Endl;
fLogger << Endl;
fLogger << "<None>" << Endl;
}
Last change: Wed Jun 25 08:48:21 2008
Last generated: 2008-06-25 08:48
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.