179 throw KKException ("SvmModel233::SvmModel233 (const SvmModel233& _model) ***ERROR*** Not Supported");
281 kkint32 excludeSupportVectorIDX
285 kkint32 excludeSupportVectorIDX
__int16 kkint16
16 bit signed integer.
kkint32 MemoryConsumedEstimated() const
kkint32 KernalType() const
void ParseTabDelStr(const KKStr &_str)
void svm_GetSupportVectorStatistics(const struct SvmModel233 *model, kkint32 &numSVs, kkint32 &totalNumSVs)
Extract Support Vector statistics .
kkint32 svm_get_nr_class(const struct SvmModel233 *model)
XmlElementTemplate< SvmModel233 > XmlElementSvmModel233
decision_function svm_train_one(const svm_problem *prob, const svm_parameter *param, double Cp, double Cn, std::set< kkint32 > &BSVIndex)
KKStr ToCmdLineStr() const
virtual void WriteXML(const KKStr &varName, std::ostream &o) const
KKStr SupportVectorName(kkint32 svIDX)
struct SvmModel233 * svm_train(const struct svm_problem *prob, const struct svm_parameter *param)
double svm_predictTwoClasses(const SvmModel233 *model, const svm_node *x, double &dist, kkint32 excludeSupportVectorIDX)
struct SvmModel233 * Svm_Load_Model(std::istream &f, RunLog &log)
svm_parameter(KKStr ¶mStr)
KKStr ToTabDelStr() const
XmlTag const * XmlTagConstPtr
Manages the reading and writing of objects in a simple XML format. For a class to be supported by Xml...
void KernalType(kkint32 _kernalType)
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
kkint32 MemoryConsumedEstimated() const
double svm_predict(const struct SvmModel233 *model, const struct svm_node *x)
std::set< kkint32 > BSVIndex
void ProcessSvmParameter(KKStr cmd, KKStr value, double valueNum, bool &parmUsed)
KKException(const char *_exceptionStr)
void svm_get_labels(const struct SvmModel233 *model, kkint32 *label)
XmlElementSvmModel233 * XmlElementSvmModel233Ptr
Used for logging messages.
void svm_margin(SvmModel233 *model)
void Svm_Save_Model(std::ostream &o, const SvmModel233 *model)
const char * svm_check_parameter(const struct svm_problem *prob, const struct svm_parameter *param)
svm_parameter & operator=(const svm_parameter &right)
svm_parameter(const svm_parameter ¶meters)
SvmModel233(const SvmModel233 &_model)
void svm_destroy_model(struct SvmModel233 *model)
svm_problem * svm_BuildProbFromTwoClassModel(const SvmModel233 *model, kkint32 excludeSupportVectorIDX)
virtual void ReadXML(XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)
volatile const bool VolConstBool
void Gamma(double _gamma)