Update 'process_dataset.py'
This commit is contained in:
parent
00b3572ff4
commit
8820240341
@ -15,7 +15,7 @@ lego['prod_id'] = lego['prod_id'].apply(np.int64)
|
|||||||
|
|
||||||
# wglad, statystyki
|
# wglad, statystyki
|
||||||
print(lego)
|
print(lego)
|
||||||
print(lego.describe(include='all').encode('utf-8'))
|
print(lego.describe(include='all'))
|
||||||
|
|
||||||
# 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