remove copy

This commit is contained in:
Natalia Szymczyk 2023-04-21 16:15:17 +02:00
parent de37b2b416
commit 8976e5a295
3 changed files with 7 additions and 9 deletions

View File

@ -2,6 +2,4 @@ FROM ubuntu:latest
RUN apt update && apt install -y python3-pip && pip3 install scikit-learn datasets
ENV HF_HOME="/tmp/hf"
COPY . .
ENV HF_HOME="/tmp/hf"

View File

@ -22,6 +22,6 @@ train.dropna(inplace=True)
test.dropna(inplace=True)
val.dropna(inplace=True)
train.to_csv('liver.train.data')
test.to_csv('liver.test.data')
val.to_csv('liver.dev.data')
train.to_csv('train.data')
test.to_csv('test.data')
val.to_csv('dev.data')

View File

@ -1,8 +1,8 @@
import pandas as pd
train = pd.read_csv('liver.train.data')
test = pd.read_csv('liver.test.data')
dev = pd.read_csv('liver.dev.data')
train = pd.read_csv('train.data')
test = pd.read_csv('test.data')
dev = pd.read_csv('dev.data')
print('\ntrain dataset:\n', train.describe())
print('\ntest dataset:\n', test.describe())