Allow setting seed for RandomForestClassifier and Regressor (#120)

* Seed for the classifier.

* Seed for the regressor.

* Forgot one.

* typo.
This commit is contained in:
Malte Londschien
2021-11-11 01:51:24 +01:00
committed by GitHub
parent 521dab49ef
commit 12c102d02b
5 changed files with 72 additions and 23 deletions
+1
View File
@@ -1008,6 +1008,7 @@ mod tests {
n_trees: 1000,
m: Option::None,
keep_samples: false,
seed: 0,
},
)
.unwrap()