1 #ifndef _MODELPARAMKNN_ 2 #define _MODELPARAMKNN_ 49 void ParseCmdLineParameter (
const KKStr& parameter,
ModelParam derived classes will implement their "XmlElement" helper class via this template...
virtual ModelParamKnnPtr Duplicate() const
virtual KKStr ToCmdLineStr(RunLog &log) const
Creates a Command Line String that represents these parameters.
XmlElementModelParamKnn * XmlElementModelParamKnnPtr
XmlElementModelParamTemplate< ModelParamKnn > XmlElementModelParamKnn
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.
ModelParamKnn * ModelParamKnnPtr
virtual void WriteXML(const KKStr &varName, ostream &o) const
Used for logging messages.
void EncodeProblem(const struct svm_paramater ¶m, struct svm_problem &prob_in, struct svm_problem &prob_out)
ModelParamKnn(const ModelParamKnn &_param)
virtual void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
Abstract Base class for Machine Learning parameters.
virtual ModelParamTypes ModelParamType() const
volatile const bool VolConstBool