MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / prepare

Method prepare

cpp_package/src/ml_model.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void 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
48std::vector<double> MLModel::predict (double *data, int data_len)
49{

Callers

nothing calls this directly

Calls 2

BrainFlowExceptionClass · 0.85
prepareFunction · 0.50

Tested by

no test coverage detected