Make verbose an argument for the fit function

This commit is contained in:
2022-06-07 16:04:04 +02:00
parent b01193779d
commit e879377980
8 changed files with 12 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ fn main() {
model.observe(&["Jerry"], &["Tom"], 3.0);
model.observe(&["Jerry"], &["Tom", "Spike"], 3.5);
model.fit();
model.fit(true);
// We can predict a future outcome...
let (p_win, _p_los) = model.probabilities(&["Jerry"], &["Tom"], 4.0);