Update 'create-dataset.py'
This commit is contained in:
parent
7e084f9e02
commit
e79bef16bf
@ -22,9 +22,9 @@ X, Y = video_games, video_games
|
|||||||
X_train, X_temp, Y_train, Y_temp = train_test_split(X, Y, test_size=0.3, random_state=1)
|
X_train, X_temp, Y_train, Y_temp = train_test_split(X, Y, test_size=0.3, random_state=1)
|
||||||
X_dev, X_test, Y_dev, Y_test = train_test_split(X_temp, Y_temp, test_size=0.3, random_state=1)
|
X_dev, X_test, Y_dev, Y_test = train_test_split(X_temp, Y_temp, test_size=0.3, random_state=1)
|
||||||
|
|
||||||
#X_train.to_csv('X_train.csv', index=False)
|
X_train.to_csv('X_train.csv', index=False)
|
||||||
#X_dev.to_csv('X_dev.csv', index=False)
|
X_dev.to_csv('X_dev.csv', index=False)
|
||||||
X.to_csv('X_test.csv', index=False)
|
X_test.to_csv('X_test.csv', index=False)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user