From dda97814f858a6df900858b5dd1aa58202694c3d Mon Sep 17 00:00:00 2001 From: YapWH <107160166+YapWH1208@users.noreply.github.com> Date: Sun, 30 Jul 2023 14:56:29 +0800 Subject: [PATCH] Delete metrics directory --- metrics/__init__.py | 0 metrics/metrics.py | 7 ------- 2 files changed, 7 deletions(-) delete mode 100644 metrics/__init__.py delete mode 100644 metrics/metrics.py diff --git a/metrics/__init__.py b/metrics/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/metrics/metrics.py b/metrics/metrics.py deleted file mode 100644 index 1fab2cf..0000000 --- a/metrics/metrics.py +++ /dev/null @@ -1,7 +0,0 @@ -import numpy as np - -def Mean_Squared_Error(y1,y2): - return np.mean(np.sum((y1-y2)**2)) - -def Mean_Absolute_Error(y1, y2): - return np.mean(np.sum(np.abs(y1-y2))) \ No newline at end of file