.
Some checks failed
s434784-evaluation/pipeline/head There was a failure building this commit
s434784-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Sobkowiak 2021-05-16 22:19:30 +02:00
parent c379818a13
commit beadfe027d
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import matplotlib.pyplot as plt
from keras import backend as K from keras import backend as K
from sklearn.metrics import mean_squared_error from sklearn.metrics import mean_squared_error
model = keras.models.load_model('suicide_model') model = keras.models.load_model('suicide_model.h5')
# train = pd.read_csv('train.csv') # train = pd.read_csv('train.csv')
# test = pd.read_csv('test.csv') # test = pd.read_csv('test.csv')

View File

@ -91,4 +91,4 @@ test_predictions = model.predict(X_test).flatten()
predictions = model.predict(X_test) predictions = model.predict(X_test)
pd.DataFrame(predictions).to_csv('results.csv') pd.DataFrame(predictions).to_csv('results.csv')
model.save('suicide_model') model.save('suicide_model.h5')