24 using namespace shogun;
35 init(pre_svm, B_param);
44 SG_DEBUG(
"deleting DomainAdaptationSVMLinear\n")
87 SG_ERROR(
"presvm bias not set to zero")
91 SG_ERROR(
"feature types do not agree")
106 SG_ERROR(
"DomainAdaptationSVMLinear requires binary labels\n")
114 SG_ERROR(
"Number of training vectors does not match number of labels\n")
126 std::vector<float64_t> lin_term = std::vector<float64_t>(num_training_points);
135 SG_DEBUG(
"pre-computing linear term from presvm\n")
138 for (int32_t i=0; i!=num_training_points; i++)
172 bool success =
false;
229 for (int32_t i=0; i!=num_examples; i++)