Last active
March 15, 2020 06:09
-
-
Save lylayang/e9372c51abb66fa39b239dce902a2f6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
train_predict = model.predict(trainX) | |
test_predict = model.predict(testX) | |
print('Train Root Mean Squared Error(RMSE): %.2f; Train Mean Absolute Error(MAE) : %.2f ' | |
% (np.sqrt(mean_squared_error(trainY, train_predict[:,0])), mean_absolute_error(trainY, train_predict[:,0]))) | |
print('Test Root Mean Squared Error(RMSE): %.2f; Test Mean Absolute Error(MAE) : %.2f ' | |
% (np.sqrt(mean_squared_error(testY, test_predict[:,0])), mean_absolute_error(testY, test_predict[:,0]))) | |
model_loss(history) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment