MCPcopy Create free account
hub / github.com/Open-Quant/openquant / new

Method new

crates/openquant/tests/feature_importance.rs:14–16  ·  view source on GitHub ↗
(n_features: usize)

Source from the content-addressed store, hash-verified

12
13impl LinearProbClassifier {
14 fn new(n_features: usize) -> Self {
15 Self { w: vec![0.0; n_features], b: 0.0 }
16 }
17}
18
19impl SimpleClassifier for LinearProbClassifier {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected