| 37 | } |
| 38 | |
| 39 | void MLModel::prepare () |
| 40 | { |
| 41 | int res = ::prepare (serialized_params.c_str ()); |
| 42 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 43 | { |
| 44 | throw BrainFlowException ("failed to prepare classifier", res); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | std::vector<double> MLModel::predict (double *data, int data_len) |
| 49 | { |
nothing calls this directly
no test coverage detected