Skip to content

Commit

Permalink
[FIX] Fix linter on dev (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen authored Mar 1, 2024
1 parent d4b5772 commit acca6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clinica/pipelines/machine_learning/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def _launch_random_forest(
min_samples_split=min_samples_split,
max_features="sqrt" if max_features == "auto" else max_features,
class_weight="balanced" if self._algorithm_params["balanced"] else None,
n_jobs=self._algorithm_params["n_threads"]
n_jobs=self._algorithm_params["n_threads"],
)
classifier.fit(x_train, y_train)
y_hat_train = classifier.predict(x_train)
Expand Down

0 comments on commit acca6b2

Please sign in to comment.