Update 'process_dataset.py'
This commit is contained in:
parent
c34c3308df
commit
0fc952b41e
@ -14,8 +14,8 @@ lego['piece_count'] = lego['piece_count'].apply(np.int64)
|
|||||||
lego['prod_id'] = lego['prod_id'].apply(np.int64)
|
lego['prod_id'] = lego['prod_id'].apply(np.int64)
|
||||||
|
|
||||||
# wglad, statystyki
|
# wglad, statystyki
|
||||||
print(lego)
|
print(lego[:10])
|
||||||
print(lego.describe(include='all'))
|
print(lego.describe(include='all')[:10])
|
||||||
|
|
||||||
# pierwszy podzial, wydzielamy zbior treningowy
|
# pierwszy podzial, wydzielamy zbior treningowy
|
||||||
lego_train, lego_rem = train_test_split(lego, train_size=0.8, random_state=1)
|
lego_train, lego_rem = train_test_split(lego, train_size=0.8, random_state=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user