| 229 | ) const { return dictionary.size(); } |
| 230 | |
| 231 | decision_function<kernel_type> get_decision_function ( |
| 232 | ) const |
| 233 | { |
| 234 | return decision_function<kernel_type>( |
| 235 | mat(alpha), |
| 236 | -sum(mat(alpha))*tau, |
| 237 | kernel, |
| 238 | mat(dictionary) |
| 239 | ); |
| 240 | } |
| 241 | |
| 242 | friend void serialize(const krls& item, std::ostream& out) |
| 243 | { |