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

Method __init__

python_package/brainflow/ml_model.py:171–176  ·  view source on GitHub ↗
(self, model_params: BrainFlowModelParams)

Source from the content-addressed store, hash-verified

169 """
170
171 def __init__(self, model_params: BrainFlowModelParams) -> None:
172 self.model_params = model_params
173 try:
174 self.serialized_params = model_params.to_json().encode()
175 except BaseException:
176 self.serialized_params = model_params.to_json()
177
178 @classmethod
179 def set_log_level(cls, log_level: int) -> None:

Callers

nothing calls this directly

Calls 1

to_jsonMethod · 0.45

Tested by

no test coverage detected