21 using namespace shogun;
32 init(pre_svm, B_param);
41 SG_DEBUG(
"deleting DomainAdaptationSVMLinear\n");
84 SG_ERROR(
"presvm bias not set to zero");
88 SG_ERROR(
"feature types do not agree");
105 SG_ERROR(
"Number of training vectors does not match number of labels\n");
106 tmp_data = train_data;
115 std::vector<float64_t> lin_term = std::vector<float64_t>(num_training_points);
124 SG_DEBUG(
"pre-computing linear term from presvm\n");
127 for (int32_t i=0; i!=num_training_points; i++)
159 bool success =
false;
217 for (int32_t i=0; i!=num_examples; i++)