1 #if !defined(_MODELPARAMDUAL_) 2 #define _MODELPARAMDUAL_ 33 const KKStr& _configFileName2,
34 bool _fullHierarchyMustMatch
56 void OtherClass (MLClassPtr _otherClass) {otherClass = _otherClass;}
85 void ParseCmdLinePost (
RunLog& log);
88 void ParseCmdLineParameter (
const KKStr& parameter,
94 KKStr configFileName1;
95 KKStr configFileName2;
96 bool fullHierarchyMustMatch;
97 MLClassPtr otherClass;
virtual KKStr ToCmdLineStr() const
Creates a Command Line String that represents these parameters.
static ProbFusionMethod ProbFusionMethodFromStr(const KKStr &s)
ModelParamDual(const ModelParamDual &_param)
ModelParam derived classes will implement their "XmlElement" helper class via this template...
static KKStr ProbFusionMethodToStr(ProbFusionMethod pfm)
virtual void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
const KKStr & ConfigFileName2() const
XmlElementModelParamDual * XmlElementModelParamDualPtr
ModelParamDual * ModelParamDualPtr
XmlTag const * XmlTagConstPtr
Manages the reading and writing of objects in a simple XML format. For a class to be supported by Xml...
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
ModelParamDual * ModelParamDualPtr
virtual ~ModelParamDual()
virtual ModelParamTypes ModelParamType() const
void OtherClass(MLClassPtr _otherClass)
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
const KKStr & ConfigFileName1() const
XmlElementModelParamTemplate< ModelParamDual > XmlElementModelParamDual
ModelParamDual(const KKStr &_configFileName1, const KKStr &_configFileName2, bool _fullHierarchyMustMatch)
bool FullHierarchyMustMatch() const
Abstract Base class for Machine Learning parameters.
virtual ModelParamDualPtr Duplicate() const
MLClassPtr OtherClass() const
volatile const bool VolConstBool