Corrections erreurs d'orthographe et de syntaxe

parent 4050bf18
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
} }
], ],
"source": [ "source": [
"#Application de l'ACP\n", "# Application de l'ACP\n",
"from sklearn.decomposition import PCA\n", "from sklearn.decomposition import PCA\n",
"pca = PCA()\n", "pca = PCA()\n",
"pca.fit(leafN)\n", "pca.fit(leafN)\n",
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
} }
], ],
"source": [ "source": [
"# Affichage des dcroisance des valeurs propres\n", "# Affichage de la décroissance des valeurs propres\n",
"import matplotlib.pyplot as plt\n", "import matplotlib.pyplot as plt\n",
"plt.plot(pca.explained_variance_ratio_,'.')\n", "plt.plot(pca.explained_variance_ratio_,'.')\n",
"plt.show()" "plt.show()"
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
} }
], ],
"source": [ "source": [
"# Afficher les données projetées sur les 3 axes princiapaux de l'ACP\n", "# Afficher les données projetées sur les 3 axes principaux de l'ACP\n",
"from mpl_toolkits.mplot3d import Axes3D\n", "from mpl_toolkits.mplot3d import Axes3D\n",
"fig = plt.figure()\n", "fig = plt.figure()\n",
"ax = fig.add_subplot(111, projection='3d')\n", "ax = fig.add_subplot(111, projection='3d')\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment