16 using namespace shogun;
42 SG_ERROR(
"Specified features are not of type CDotFeatures\n");
59 for (int32_t i=0; i<num_feat; i++)
66 for (int32_t i=0; i<num_vec; i++)
70 if (CMath::sign<float64_t>(output[i]) != train_labels.
vector[i])
82 SG_INFO(
"Perceptron algorithm converged after %d iterations.\n", iter);