28 #include <ilcplex/cplex.h>
83 SG_ERROR(
"SVM_light can not proceed without kernel!\n")
89 SG_ERROR(
"SVM_light can not proceed without initialized kernel!\n")
92 SG_INFO(
"num_vec=%d\n", num_vec)
139 for (int32_t i=0; i<
model->sv_num-1; i++)
157 #endif //USE_SVMLIGHT
virtual void clear_normal()
virtual bool init(CFeatures *lhs, CFeatures *rhs)
int32_t get_num_threads() const
virtual bool delete_optimization()
virtual int32_t get_num_vec_lhs()
bool has_property(EKernelProperty p)
bool get_batch_computation_enabled()
void set_bias(float64_t bias)
bool set_alpha(int32_t idx, float64_t val)
EOptimizationType get_optimization_type()
int32_t precision_violations
ESolverType get_solver_type()
The Combined kernel is used to combine a number of kernels into a single CombinedKernel object by lin...
bool set_support_vector(int32_t idx, int32_t val)
all of classes and functions are contained in the shogun namespace
bool get_linadd_enabled()
virtual EKernelType get_kernel_type()=0
The class Features is the base class of all feature objects.
void kernel_cache_cleanup()
virtual int32_t get_num_subkernels()
Binary Labels for binary classification.
void set_kernel(CKernel *k)
virtual bool train_machine(CFeatures *data=NULL)
virtual bool has_features()
void resize_kernel_cache(KERNELCACHE_IDX size, bool regression_hack=false)
void set_C(float64_t c_neg, float64_t c_pos)
bool create_new_model(int32_t num)