From 3bd3b75290140d98b37a35ba96a5deda03576aec Mon Sep 17 00:00:00 2001
From: widad174 <azzouzi.widad.17@gmail.com>
Date: Fri, 10 Nov 2023 16:31:39 +0100
Subject: [PATCH] Update

---
 main.ipynb                                                   | 5 ++++-
 tests/test_distance_matrix.py => test_distance_matrix.py     | 0
 tests/test_evaluate_knn.py => test_evaluate_knn.py           | 0
 tests/test_knn_predict.py => test_knn_predict.py             | 0
 ...once_cross_entropy.py => test_learn_once_cross_entropy.py | 0
 tests/test_learn_once_mse.py => test_learn_once_mse.py       | 0
 tests/test_mode.py => test_mode.py                           | 0
 tests/test_one_hot.py => test_one_hot.py                     | 0
 tests/test_predict_mlp.py => test_predict_mlp.py             | 0
 tests/test_read_cifar.py => test_read_cifar.py               | 0
 tests/test_run_mlp_training.py => test_run_mlp_training.py   | 0
 tests/test_softmax.py => test_softmax.py                     | 0
 tests/test_split_dataset.py => test_split_dataset.py         | 0
 tests/test_train_mlp.py => test_train_mlp.py                 | 0
 tests/test_unpickle.py => test_unpickle.py                   | 0
 tests/__init__.py                                            | 3 ---
 16 files changed, 4 insertions(+), 4 deletions(-)
 rename tests/test_distance_matrix.py => test_distance_matrix.py (100%)
 rename tests/test_evaluate_knn.py => test_evaluate_knn.py (100%)
 rename tests/test_knn_predict.py => test_knn_predict.py (100%)
 rename tests/test_learn_once_cross_entropy.py => test_learn_once_cross_entropy.py (100%)
 rename tests/test_learn_once_mse.py => test_learn_once_mse.py (100%)
 rename tests/test_mode.py => test_mode.py (100%)
 rename tests/test_one_hot.py => test_one_hot.py (100%)
 rename tests/test_predict_mlp.py => test_predict_mlp.py (100%)
 rename tests/test_read_cifar.py => test_read_cifar.py (100%)
 rename tests/test_run_mlp_training.py => test_run_mlp_training.py (100%)
 rename tests/test_softmax.py => test_softmax.py (100%)
 rename tests/test_split_dataset.py => test_split_dataset.py (100%)
 rename tests/test_train_mlp.py => test_train_mlp.py (100%)
 rename tests/test_unpickle.py => test_unpickle.py (100%)
 delete mode 100644 tests/__init__.py

diff --git a/main.ipynb b/main.ipynb
index e1c8282..5ee574a 100644
--- a/main.ipynb
+++ b/main.ipynb
@@ -17,7 +17,10 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "path = r'C:\\Users\\hp\\Desktop\\BE\\image-classification\\data'"
+    "path = r'C:\\Users\\hp\\Desktop\\BE\\image-classification\\data'\n",
+    "path = \"image-classification\\data\"\n",
+    "# Le premier path c'est ce qui fonctionne dans mon pc et non pas le deuxième.\n",
+    "#  J'ai ajouté le deuxième chemin pour l'enseignant qui va corriger mon code "
    ]
   },
   {
diff --git a/tests/test_distance_matrix.py b/test_distance_matrix.py
similarity index 100%
rename from tests/test_distance_matrix.py
rename to test_distance_matrix.py
diff --git a/tests/test_evaluate_knn.py b/test_evaluate_knn.py
similarity index 100%
rename from tests/test_evaluate_knn.py
rename to test_evaluate_knn.py
diff --git a/tests/test_knn_predict.py b/test_knn_predict.py
similarity index 100%
rename from tests/test_knn_predict.py
rename to test_knn_predict.py
diff --git a/tests/test_learn_once_cross_entropy.py b/test_learn_once_cross_entropy.py
similarity index 100%
rename from tests/test_learn_once_cross_entropy.py
rename to test_learn_once_cross_entropy.py
diff --git a/tests/test_learn_once_mse.py b/test_learn_once_mse.py
similarity index 100%
rename from tests/test_learn_once_mse.py
rename to test_learn_once_mse.py
diff --git a/tests/test_mode.py b/test_mode.py
similarity index 100%
rename from tests/test_mode.py
rename to test_mode.py
diff --git a/tests/test_one_hot.py b/test_one_hot.py
similarity index 100%
rename from tests/test_one_hot.py
rename to test_one_hot.py
diff --git a/tests/test_predict_mlp.py b/test_predict_mlp.py
similarity index 100%
rename from tests/test_predict_mlp.py
rename to test_predict_mlp.py
diff --git a/tests/test_read_cifar.py b/test_read_cifar.py
similarity index 100%
rename from tests/test_read_cifar.py
rename to test_read_cifar.py
diff --git a/tests/test_run_mlp_training.py b/test_run_mlp_training.py
similarity index 100%
rename from tests/test_run_mlp_training.py
rename to test_run_mlp_training.py
diff --git a/tests/test_softmax.py b/test_softmax.py
similarity index 100%
rename from tests/test_softmax.py
rename to test_softmax.py
diff --git a/tests/test_split_dataset.py b/test_split_dataset.py
similarity index 100%
rename from tests/test_split_dataset.py
rename to test_split_dataset.py
diff --git a/tests/test_train_mlp.py b/test_train_mlp.py
similarity index 100%
rename from tests/test_train_mlp.py
rename to test_train_mlp.py
diff --git a/tests/test_unpickle.py b/test_unpickle.py
similarity index 100%
rename from tests/test_unpickle.py
rename to test_unpickle.py
diff --git a/tests/__init__.py b/tests/__init__.py
deleted file mode 100644
index 8eff392..0000000
--- a/tests/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-import os
-import sys
-sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
\ No newline at end of file
-- 
GitLab