| 107 | |
| 108 | template <typename trainer_type> |
| 109 | void set_gamma ( |
| 110 | trainer_type& trainer, |
| 111 | double gamma |
| 112 | ) |
| 113 | { |
| 114 | pyassert(gamma > 0, "gamma must be > 0"); |
| 115 | trainer.set_kernel(typename trainer_type::kernel_type(gamma)); |
| 116 | } |
| 117 | |
| 118 | template <typename trainer_type> |
| 119 | double get_gamma ( |
nothing calls this directly
no test coverage detected