Replace x0 with x'0 in right side of figure 5-2

main
Aurélien Geron 2021-03-10 09:15:59 +13:00
parent b2d197711f
commit 7719ff276a
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@
"plt.plot(X_scaled[:, 0][ys==1], X_scaled[:, 1][ys==1], \"bo\")\n", "plt.plot(X_scaled[:, 0][ys==1], X_scaled[:, 1][ys==1], \"bo\")\n",
"plt.plot(X_scaled[:, 0][ys==0], X_scaled[:, 1][ys==0], \"ms\")\n", "plt.plot(X_scaled[:, 0][ys==0], X_scaled[:, 1][ys==0], \"ms\")\n",
"plot_svc_decision_boundary(svm_clf, -2, 2)\n", "plot_svc_decision_boundary(svm_clf, -2, 2)\n",
"plt.xlabel(\"$x_0$\", fontsize=20)\n", "plt.xlabel(\"$x'_0$\", fontsize=20)\n",
"plt.ylabel(\"$x'_1$ \", fontsize=20, rotation=0)\n", "plt.ylabel(\"$x'_1$ \", fontsize=20, rotation=0)\n",
"plt.title(\"Scaled\", fontsize=16)\n", "plt.title(\"Scaled\", fontsize=16)\n",
"plt.axis([-2, 2, -2, 2])\n", "plt.axis([-2, 2, -2, 2])\n",