Created
March 15, 2020 07:56
-
-
Save lylayang/0257f00e2acc83f552b1de00be17340e 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_score = model.evaluate(trainX, trainY, verbose=0) | |
print('Train Root Mean Squared Error(RMSE): %.2f; Train Mean Absolute Error(MAE) : %.2f ' | |
% (np.sqrt(train_score[1]), train_score[2])) | |
test_score = model.evaluate(testX, testY, verbose=0) | |
print('Test Root Mean Squared Error(RMSE): %.2f; Test Mean Absolute Error(MAE) : %.2f ' | |
% (np.sqrt(test_score[1]), test_score[2])) | |
model_loss(history) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment