Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Sep 10, 2023
1 parent 6aeb0b6 commit 0c3845a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/01_skpro_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@
"# example object 2: ResidualDouble regressor\n",
"from sklearn.ensemble import RandomForestRegressor\n",
"from sklearn.linear_model import LinearRegression\n",
"\n",
"from skpro.regression.residual import ResidualDouble\n",
"\n",
"reg_mean = LinearRegression()\n",
Expand Down Expand Up @@ -1431,7 +1432,7 @@
"estimator = ResidualDouble(LinearRegression())\n",
"\n",
"# tuning grid - do we fit an intercept in the linear regression?\n",
"param_grid = {\"estimator__fit_intercept\" : [True, False]}\n",
"param_grid = {\"estimator__fit_intercept\": [True, False]}\n",
"\n",
"# metric to be optimized\n",
"crps_metric = CRPS()\n",
Expand Down Expand Up @@ -1490,7 +1491,7 @@
"# only difference to GridSearchCV is the param_distributions argument\n",
"\n",
"# specification of the random search parameter sampler\n",
"param_distributions = {\"estimator__fit_intercept\" : [True, False]}\n",
"param_distributions = {\"estimator__fit_intercept\": [True, False]}\n",
"\n",
"# specification of the random search tuner\n",
"rscv = RandomizedSearchCV(\n",
Expand Down

0 comments on commit 0c3845a

Please sign in to comment.