21 using namespace shogun;
32 evaluation_criterion, autolock)
51 void CCrossValidation::init()
64 "classes for intermediade cross-validation results",
105 SG_WARNING(
"%s does not support locking. Autolocking is skipped. "
106 "Set autolock flag to false to get rid of warning.\n",
142 SG_DEBUG(
"entering cross-validation run %d \n", i);
144 SG_DEBUG(
"result of cross-validation run %d is %f\n", i, results[i]);
180 if (conf_int_alpha <0 || conf_int_alpha>= 1) {
181 SG_ERROR(
"%f is an illegal alpha-value for confidence interval of "
182 "cross-validation\n", conf_int_alpha);
187 SG_WARNING(
"Confidence interval for Cross-Validation only possible"
188 " when number of runs is >1, ignoring.\n");
197 SG_ERROR(
"%d is an illegal number of repetitions\n", num_runs);
207 SG_DEBUG(
"building index sets for %d-fold cross-validation\n", num_subsets);
220 for (
index_t i=0; i <num_subsets; ++i)
297 for (
index_t i=0; i <num_subsets; ++i)
328 inverse_subset_indices.
vlen,
"training indices");
362 subset_indices.
vlen,
"test indices");
375 SG_DEBUG(
"result on fold %d is %f\n", i, results[i]);