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

Method release

python_package/brainflow/ml_model.py:267–272  ·  view source on GitHub ↗

release classifier

(self)

Source from the content-addressed store, hash-verified

265 raise BrainFlowError('unable to prepare classifier', res)
266
267 def release(self) -> None:
268 """release classifier"""
269
270 res = MLModuleDLL.get_instance().release(self.serialized_params)
271 if res != BrainFlowExitCodes.STATUS_OK.value:
272 raise BrainFlowError('unable to release classifier', res)
273
274 def predict(self, data) -> List:
275 """calculate metric from data

Callers 2

mainFunction · 0.95
mainFunction · 0.95

Calls 3

BrainFlowErrorClass · 0.70
releaseMethod · 0.65
get_instanceMethod · 0.45

Tested by

no test coverage detected