From a41ee5e5fdd7b819bef964021c84fd3edb4a7419 Mon Sep 17 00:00:00 2001 From: Axel DE LA FUENTE Date: Wed, 7 Feb 2024 11:06:58 +0100 Subject: [PATCH] :truck: add initial files for ai --- src/analysis.py | 0 src/classifier.py | 0 src/main.py | 9 ++++++++- src/preprocessing.py | 4 ++++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 src/analysis.py create mode 100644 src/classifier.py create mode 100644 src/preprocessing.py diff --git a/src/analysis.py b/src/analysis.py new file mode 100644 index 0000000..e69de29 diff --git a/src/classifier.py b/src/classifier.py new file mode 100644 index 0000000..e69de29 diff --git a/src/main.py b/src/main.py index 7a0a352..e7cf413 100644 --- a/src/main.py +++ b/src/main.py @@ -1,2 +1,9 @@ +import preprocessing +import classifier +import analysis + if __name__ == '__main__': - print("Start learning...") + print("Start learning... :)") + + df = preprocessing.load_datas() + df.head(5) diff --git a/src/preprocessing.py b/src/preprocessing.py new file mode 100644 index 0000000..3a7d517 --- /dev/null +++ b/src/preprocessing.py @@ -0,0 +1,4 @@ +import pandas as pd + +def load_datas(): + return pd.read_csv("../datas/FakeNewsNet.csv")