Skip to content

Commit

Permalink
fix n_jobs on spa preset
Browse files Browse the repository at this point in the history
  • Loading branch information
ardunn committed Jul 28, 2020
1 parent 64767f4 commit c5a66e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automatminer/presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def get_preset_config(preset: str = "express", **powerups) -> dict:
"cleaner": DataCleaner(),
}
elif preset == "express_single":
rf_args = {"n_estimators": 500, "max_depth": 5, "n_jobs": n_jobs_kwargs}
rf_args = {"n_estimators": 500, "max_depth": 5}
rf_args.update(n_jobs_kwargs)
config = {
"learner": SinglePipelineAdaptor(
regressor=RandomForestRegressor(**rf_args),
Expand Down

0 comments on commit c5a66e3

Please sign in to comment.