23 using namespace shogun;
33 init(pre_svm, B_param);
39 SG_DEBUG(
"deleting DomainAdaptationSVM\n")
45 REQUIRE(pre_svm != NULL,
"Pre SVM should not be null");
67 SG_ERROR(
"presvm has no support vectors, please train first")
71 SG_ERROR(
"presvm bias not set to zero")
75 SG_ERROR(
"kernel types do not agree")
79 SG_ERROR(
"feature types do not agree")
92 SG_ERROR(
"Number of training vectors does not match number of labels\n")
97 SG_ERROR(
"DomainAdaptationSVM requires binary labels\n")
111 for (int32_t i=0; i<num_training_points; i++)
169 for (int32_t i=0; i<num_examples; i++)
180 void CDomainAdaptationSVM::init()
190 "flag to switch off regularization in training.",
MS_AVAILABLE);
193 #endif //USE_SVMLIGHT