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

Method plot_effects

crates/openquant/src/fingerprint.rs:69–79  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

67 }
68
69 pub fn plot_effects(&self) -> Result<Vec<String>, String> {
70 let (lin, nonlin, pair) = self.get_effects()?;
71 let mut lines = vec![
72 format!("linear:{} features", lin.raw.len()),
73 format!("nonlinear:{} features", nonlin.raw.len()),
74 ];
75 if let Some(p) = pair {
76 lines.push(format!("pairwise:{} pairs", p.raw.len()));
77 }
78 Ok(lines)
79 }
80}
81
82impl ClassificationModelFingerprint {

Callers 1

test_plot_effectsFunction · 0.80

Calls 1

get_effectsMethod · 0.80

Tested by 1

test_plot_effectsFunction · 0.64