Update 'process_dataset.py'

This commit is contained in:
Kacper Dudzic 2022-04-02 17:05:50 +02:00
parent c34c3308df
commit 0fc952b41e

View File

@ -14,8 +14,8 @@ lego['piece_count'] = lego['piece_count'].apply(np.int64)
lego['prod_id'] = lego['prod_id'].apply(np.int64)
# wglad, statystyki
print(lego)
print(lego.describe(include='all'))
print(lego[:10])
print(lego.describe(include='all')[:10])
# pierwszy podzial, wydzielamy zbior treningowy
lego_train, lego_rem = train_test_split(lego, train_size=0.8, random_state=1)