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

Method __init__

python_package/brainflow/ml_model.py:49–55  ·  view source on GitHub ↗
(self, metric, classifier)

Source from the content-addressed store, hash-verified

47 """
48
49 def __init__(self, metric, classifier) -> None:
50 self.metric = metric
51 self.classifier = classifier
52 self.file = ''
53 self.other_info = ''
54 self.output_name = ''
55 self.max_array_size = 8192
56
57 def to_json(self) -> None:
58 return json.dumps(self, default=lambda o: o.__dict__,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected