From 122ec29892626f1f97a0eb8feed87596a247db95 Mon Sep 17 00:00:00 2001 From: 8517fa92e97b3a318e653caefbfde6b5 <8517fa92e97b3a318e653caefbfde6b5@app-learninglab.inria.fr> Date: Tue, 31 Mar 2020 13:30:50 +0000 Subject: [PATCH] std correction --- module2/exo2/exercice.ipynb | 44 +++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 11 deletions(-) diff --git a/module2/exo2/exercice.ipynb b/module2/exo2/exercice.ipynb index 57eb92e..800b657 100644 --- a/module2/exo2/exercice.ipynb +++ b/module2/exo2/exercice.ipynb @@ -35,7 +35,7 @@ { "data": { "text/plain": [ - "4.312369534258399" + "14.113000000000001" ] }, "execution_count": 2, @@ -50,11 +50,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "4.334094455301447" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "np.std(DONNEES)" + "np.std(DONNEES, ddof=1)" ] }, { @@ -66,16 +77,16 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "23.4" + "2.8" ] }, - "execution_count": 3, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -86,9 +97,20 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "23.4" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "max(DONNEES)" ] @@ -102,7 +124,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -111,7 +133,7 @@ "14.5" ] }, - "execution_count": 4, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } -- 2.18.1