From 470f08357b593209954524c301313f99fa5f3579 Mon Sep 17 00:00:00 2001 From: RAMAGE PAULINE s318321 <s318321@studenti.polito.it> Date: Sun, 1 Dec 2024 11:09:53 +0100 Subject: [PATCH] add remarks --- TD2_Deep_Learning.ipynb | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/TD2_Deep_Learning.ipynb b/TD2_Deep_Learning.ipynb index afff4d1..13294ff 100644 --- a/TD2_Deep_Learning.ipynb +++ b/TD2_Deep_Learning.ipynb @@ -692,6 +692,14 @@ ")" ] }, + { + "cell_type": "markdown", + "id": "df2b0014", + "metadata": {}, + "source": [ + "The accuracy is a lot better that the one of the neural network implemented in TD1 that was berely above 20%." + ] + }, { "cell_type": "markdown", "id": "944991a2", @@ -1062,6 +1070,14 @@ ")" ] }, + { + "cell_type": "markdown", + "id": "02200b5e", + "metadata": {}, + "source": [ + "The new model has a accuracy of 73% which is better that the previous model. It may be because of the dropout that allows the model to be more adapatable to new data." + ] + }, { "cell_type": "markdown", "id": "bc381cf4", @@ -1297,7 +1313,7 @@ "id": "c37a1007", "metadata": {}, "source": [ - "The compararison between the test accuracy of each class and the overall test accurcay shows that there is not a significant impact of the use of a quantized model on the prediction. The quantized model is \"only\" **0.07%** (nb of correct prediction of the original model-nb of correct prediction of the quantized model/nb of sample) less accurate than the original model but it is 2330.946/659.806 = **3,5** smaller." + "The compararison between the test accuracy of each class and the overall test accurcay shows that there is not a significant impact of the use of a quantized model on the prediction. The quantized model is only **0.07%** (nb of correct prediction of the original model-nb of correct prediction of the quantized model/nb of sample) less accurate than the original model but it is 2330.946/659.806 = **3,5** smaller !" ] }, { @@ -1770,7 +1786,7 @@ "id": "f435974d", "metadata": {}, "source": [ - "The quantized also predict the correct labels and is much faster than the original VGG model. It is also 3,03 (553439.178/182540.454) smaller.\n", + "The quantized also predict the correct labels and is much faster than the original VGG model. It is also **3,03** (553439.178/182540.454) smaller.\n", "\n", "Time of computation:\n", "- Original VGG: 6 min 21s\n", -- GitLab