We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00c05ae commit e50a291Copy full SHA for e50a291
algorithms/linfa-trees/examples/decision_tree.rs
@@ -44,7 +44,7 @@ fn main() -> Result<()> {
44
.min_weight_leaf(10.0)
45
.fit(&train)?;
46
47
- let entropy_pred_y = gini_model.predict(&test);
+ let entropy_pred_y = entropy_model.predict(&test);
48
let cm = entropy_pred_y.confusion_matrix(&test)?;
49
50
println!("{:?}", cm);
0 commit comments