Skip to content

Commit

Permalink
[WIP] Triage bug with max_features
Browse files Browse the repository at this point in the history
[no ci]
  • Loading branch information
ghisvail committed Feb 23, 2024
1 parent c6ad37b commit 2e101b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clinica/pipelines/machine_learning/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ def _launch_random_forest(
min_samples_split,
max_features,
):
assert max_features != "auto"

if self._algorithm_params["balanced"]:
classifier = RandomForestClassifier(
n_estimators=n_estimators,
Expand Down

0 comments on commit 2e101b8

Please sign in to comment.