| 116 | |
| 117 | template <typename decision_function> |
| 118 | std::vector<double> normalized_predict_vec ( |
| 119 | const normalized_function<decision_function>& df, |
| 120 | const std::vector<typename decision_function::kernel_type::sample_type>& samps |
| 121 | ) |
| 122 | { |
| 123 | std::vector<double> out; |
| 124 | out.reserve(samps.size()); |
| 125 | for (const auto& x : samps) |
| 126 | out.push_back(normalized_predict(df,x)); |
| 127 | return out; |
| 128 | } |
| 129 | |
| 130 | template <typename decision_function> |
| 131 | py::array_t<double> normalized_predict_np_vec ( |
nothing calls this directly
no test coverage detected