remove copy
This commit is contained in:
parent
de37b2b416
commit
8976e5a295
@ -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"
|
6
main.py
6
main.py
@ -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')
|
||||
|
6
main2.py
6
main2.py
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user