| 414 | } |
| 415 | |
| 416 | void perform_test ( |
| 417 | ) |
| 418 | { |
| 419 | ++thetime; |
| 420 | typedef matrix<double,0,1> sample_type; |
| 421 | dlog << LINFO << "time seed: " << thetime; |
| 422 | rnd.set_seed(cast_to_string(thetime)); |
| 423 | |
| 424 | print_spinner(); |
| 425 | test_projection_error(); |
| 426 | print_spinner(); |
| 427 | dlog << LINFO << "test with linear kernel"; |
| 428 | test_with_kernel(linear_kernel<sample_type>()); |
| 429 | print_spinner(); |
| 430 | dlog << LINFO << "test with rbf kernel"; |
| 431 | test_with_kernel(radial_basis_kernel<sample_type>(0.2)); |
| 432 | print_spinner(); |
| 433 | } |
| 434 | }; |
| 435 | |
| 436 | // Create an instance of this object. Doing this causes this test |
nothing calls this directly
no test coverage detected