1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-12-03 11:22:28 +00:00

description about parameter h added

This commit is contained in:
Oscar Araque 2019-03-21 19:35:50 +01:00
parent 06e51db4e3
commit ae3c34f94c

View File

@ -275,7 +275,10 @@
"print(classification_report(y_test, lr_preds))\n", "print(classification_report(y_test, lr_preds))\n",
"\n", "\n",
"plt.figure(figsize=(10,7))\n", "plt.figure(figsize=(10,7))\n",
"plot_decision_surface(X, y, lr)" "# This methods outputs a visualization\n",
"# the h parameter adjusts the precision of the visualization\n",
"# if you find memory errors, set h to a higher value (e.g., h=0.1)\n",
"plot_decision_surface(X, y, lr, h=0.02) "
] ]
}, },
{ {