Skip to content

Commit a08723e

Browse files
committed
Fix incorrect R² * -1 in regression print() examples and modernize f-strings
1 parent cf5ec67 commit a08723e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sources/user_guide/feature_selection/ExhaustiveFeatureSelector.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@
958958
")\n",
959959
"\n",
960960
"efs.fit(X, y)\n",
961-
"\n",
961+
"# fixed the issue\n",
962962
"print(f\"Best R2 score: {efs.best_score_:.2f}\")\n",
963963
"print(f\"Best subset: {efs.best_idx_}\")"
964964
]

0 commit comments

Comments
 (0)