23 using namespace shogun;
41 bool CLPBoost::init(int32_t num_vec)
44 for (int32_t i=0; i<num_vec; i++)
87 if (valplus>max_val || max_dim==-1)
112 ASSERT(num_vec==num_train_labels);
120 SG_PRINT(
"finished setting up lpboost\n");
125 int32_t num_hypothesis=0;
133 SG_PRINT(
"iteration:%06d violator: %10.17f (>1.0) chosen: %d\n", num_hypothesis, violator, max_dim);
134 if (violator <= 1.0+epsilon && num_hypothesis>1)
136 SG_PRINT(
"converged after %d iterations!\n", num_hypothesis);
161 for (int32_t i=0; i<num_hypothesis; i++)