made test more robust

This commit is contained in:
Davis King 2014-02-10 19:24:15 -05:00
parent de95484424
commit fba0158925
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ namespace
typedef sparse_linear_kernel<sample_type> kernel_type;
svm_multiclass_linear_trainer<kernel_type> trainer;
trainer.set_c(100);
trainer.set_epsilon(0.000001);
randomize_samples(samples, labels);
matrix<double> cv = cross_validate_multiclass_trainer(trainer, samples, labels, 4);