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

Class MajorityClassifier

crates/openquant/tests/cross_validation.rs:80–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80struct MajorityClassifier {
81 prob: f64,
82}
83
84impl SimpleClassifier for MajorityClassifier {
85 fn fit(&mut self, _x: &[Vec<f64>], y: &[f64], sample_weight: Option<&[f64]>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected