23 using namespace shogun;
32 init(pre_svm, B_param);
38 SG_DEBUG(
"deleting DomainAdaptationSVM\n");
65 SG_ERROR(
"presvm has no support vectors, please train first");
69 SG_ERROR(
"presvm bias not set to zero");
73 SG_ERROR(
"kernel types do not agree");
77 SG_ERROR(
"feature types do not agree");
90 SG_ERROR(
"Number of training vectors does not match number of labels\n");
95 SG_ERROR(
"DomainAdaptationSVM requires binary labels\n");
109 for (int32_t i=0; i<num_training_points; i++)
167 for (int32_t i=0; i<num_examples; i++)
178 void CDomainAdaptationSVM::init()
185 "SVM to regularize against.");
188 "train_factor",
"flag to switch off regularization in training.");
191 #endif //USE_SVMLIGHT