new python script

This commit is contained in:
Natalia Szymczyk 2023-04-21 11:11:29 +02:00
parent f675f8017d
commit e7b193bc2e
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import pandas as pd # import pandas as pd
from sklearn.model_selection import train_test_split from sklearn.model_selection import train_test_split
from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import MinMaxScaler
from datasets import load_dataset from datasets import load_dataset

9
main2.py Normal file
View File

@ -0,0 +1,9 @@
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')
print('\ntrain dataset:\n', train.describe())
print('\ntest dataset:\n', test.describe())
print('\ndev dataset:\n', dev.describe())