Zaktualizuj 'sacred_training.py'

This commit is contained in:
Szymon Jadczak 2022-05-08 11:56:12 +02:00
parent fc0267cad2
commit 59790b4bf1

View File

@ -103,6 +103,7 @@ def prepare_data():
y_test[i] = games[j] y_test[i] = games[j]
y_train = np.array(y_train).astype(np.float32) y_train = np.array(y_train).astype(np.float32)
y_test = np.array(y_test).astype(np.float32) y_test = np.array(y_test).astype(np.float32)
np.savetxt("ytest.csv",y_test,delimiter=",",fmt='%d')
return x_train, y_train, x_test, y_test, invGames return x_train, y_train, x_test, y_test, invGames
@ex.main @ex.main