From dd9aaa10aa1ef0687cf9e19fa62b18ea08839b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Parafin=CC=81ski?= Date: Sun, 5 Jun 2022 23:41:41 +0200 Subject: [PATCH] try with lab7 files --- lab7/biblioteka_DL/dllib.py | 2 +- lab7/biblioteka_DL/evaluate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lab7/biblioteka_DL/dllib.py b/lab7/biblioteka_DL/dllib.py index 48964cf..1e155d7 100644 --- a/lab7/biblioteka_DL/dllib.py +++ b/lab7/biblioteka_DL/dllib.py @@ -69,7 +69,7 @@ def normalize_gross(imbd_data): def prepare_dataset(): - df = pd.read_csv('biblioteka_DL/imdb_top_1000.csv') + df = pd.read_csv('data/imdb_top_1000.csv') df = drop_relevant_columns(df) df_lowercase = lowercase_columns_names(df) df = data_to_numeric(df_lowercase) diff --git a/lab7/biblioteka_DL/evaluate.py b/lab7/biblioteka_DL/evaluate.py index 34b6acd..24ab926 100644 --- a/lab7/biblioteka_DL/evaluate.py +++ b/lab7/biblioteka_DL/evaluate.py @@ -56,7 +56,7 @@ def normalize_gross(imbd_data): def prepare_dataset(): - df = pd.read_csv('biblioteka_DL/imdb_top_1000.csv') + df = pd.read_csv('data/imdb_top_1000.csv') df = drop_relevant_columns(df) df_lowercase = lowercase_columns_names(df) df = data_to_numeric(df_lowercase)