1 #if !defined(_MODELPARAMUSFCASCOR_) 2 #define _MODELPARAMUSFCASCOR_ 24 int _number_of_rounds,
25 int _number_of_trials,
47 void In_limit (
int _in_limit) {in_limit = _in_limit;}
48 void Out_limit (
int _out_limit) {out_limit = _out_limit;}
52 void UseCache (
bool _useCache) {useCache = _useCache;}
75 virtual void ParseCmdLinePost ();
77 virtual void ParseCmdLineParameter (
const KKStr& parameter,
ModelParam derived classes will implement their "XmlElement" helper class via this template...
void Random_seed(kkint64 _random_seed)
void Out_limit(int _out_limit)
void Number_of_rounds(int _number_of_rounds)
virtual ~ModelParamUsfCasCor()
ModelParamUsfCasCor * ModelParamUsfCasCorPtr
int Number_of_rounds() const
kkint64 Random_seed() const
XmlTag const * XmlTagConstPtr
Manages the reading and writing of objects in a simple XML format. For a class to be supported by Xml...
This class encapsulates are the information necessary to build a UsfCasCor class. ...
void In_limit(int _in_limit)
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
XmlElementModelParamUsfCasCor * XmlElementModelParamUsfCasCorPtr
ModelParamUsfCasCor(int _in_limit, int _out_limit, int _number_of_rounds, int _number_of_trials, kkint64 _random_seed, bool _useCache)
virtual ModelParamUsfCasCorPtr Duplicate() const
void Number_of_trials(int _number_of_trials)
virtual void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
virtual KKStr ToCmdLineStr() const
Creates a Command Line String that represents these parameters.
ModelParamUsfCasCor * ModelParamUsfCasCorPtr
XmlElementModelParamTemplate< ModelParamUsfCasCor > XmlElementModelParamUsfCasCor
Used for logging messages.
void EncodeProblem(const struct svm_paramater ¶m, struct svm_problem &prob_in, struct svm_problem &prob_out)
virtual void WriteXML(const KKStr &varName, ostream &o) const
virtual ModelParamTypes ModelParamType() const
void UseCache(bool _useCache)
int Number_of_trials() const
Abstract Base class for Machine Learning parameters.
volatile const bool VolConstBool