maybe lab6
Some checks failed
s444018-evaluation/pipeline/head There was a failure building this commit
s444018-training/pipeline/head There was a failure building this commit

This commit is contained in:
Szymon Parafiński 2022-06-05 23:45:15 +02:00
parent 2fab1c8ac0
commit 0196c8c5a3
4 changed files with 6 additions and 6 deletions

View File

@ -27,8 +27,8 @@ ENV KAGGLE_KEY=${KAGGLE_KEY}
WORKDIR /app WORKDIR /app
COPY lab2/download.sh . COPY lab2/download.sh .
COPY lab7/biblioteka_DL/dllib.py . COPY lab6/biblioteka_DL/dllib.py .
COPY lab7/biblioteka_DL/evaluate.py . COPY lab6/biblioteka_DL/evaluate.py .
COPY biblioteka_DL/imdb_top_1000.csv . COPY biblioteka_DL/imdb_top_1000.csv .
COPY predict.py . COPY predict.py .
COPY registry.py . COPY registry.py .

View File

@ -1,9 +1,9 @@
stages: stages:
train: train:
cmd: python3 ./lab7/biblioteka_DL/dllib.py 100 cmd: python3 ./lab6/biblioteka_DL/dllib.py 100
deps: deps:
- data/imdb_top_1000.csv - data/imdb_top_1000.csv
evaluate: evaluate:
cmd: python3 ./lab7/biblioteka_DL/evaluate.py cmd: python3 ./lab6/biblioteka_DL/evaluate.py
deps: deps:
- data/imdb_top_1000.csv - data/imdb_top_1000.csv

View File

@ -56,7 +56,7 @@ def normalize_gross(imbd_data):
def prepare_dataset(): 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 = drop_relevant_columns(df)
df_lowercase = lowercase_columns_names(df) df_lowercase = lowercase_columns_names(df)
df = data_to_numeric(df_lowercase) df = data_to_numeric(df_lowercase)

View File

@ -56,7 +56,7 @@ def normalize_gross(imbd_data):
def prepare_dataset(): 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 = drop_relevant_columns(df)
df_lowercase = lowercase_columns_names(df) df_lowercase = lowercase_columns_names(df)
df = data_to_numeric(df_lowercase) df = data_to_numeric(df_lowercase)