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

Method constructor

nodejs_package/brainflow/ml_model.ts:119–124  ·  view source on GitHub ↗
(metric: BrainFlowMetrics, classifier: BrainFlowClassifiers,
        inputParams: Partial<IBrainFlowModelParams>)

Source from the content-addressed store, hash-verified

117 private input: BrainFlowModelParams;
118
119 constructor(metric: BrainFlowMetrics, classifier: BrainFlowClassifiers,
120 inputParams: Partial<IBrainFlowModelParams>)
121 {
122 this.input = new BrainFlowModelParams (metric, classifier, inputParams);
123 this.inputJson = this.input.toJson();
124 }
125
126 // logging methods
127 public static getVersion(): string

Callers

nothing calls this directly

Calls 1

toJsonMethod · 0.45

Tested by

no test coverage detected