Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Open-Quant/openquant
/ LinearProbClassifier
Class
LinearProbClassifier
crates/openquant/tests/feature_importance.rs:8–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
7
#[derive(Clone, Debug)]
8
struct LinearProbClassifier {
9
w: Vec<f64>,
10
b: f64,
11
}
12
13
impl LinearProbClassifier {
14
fn new(n_features: usize) -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected