Skip to content

Commit

Permalink
Merge pull request #42 from mihael147work/master
Browse files Browse the repository at this point in the history
Small fix
  • Loading branch information
risenW committed Apr 6, 2020
2 parents eca0b62 + 5bcb259 commit 2935fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasist/model.py
Expand Up @@ -257,7 +257,7 @@ def get_regression_report(y_true=None, prediction=None, show_r2_plot=True, save_
'''
mae = mean_absolute_error(y_true, prediction)
mse = mean_squared_error(y_true, prediction)
msle = precision_score(y_true, prediction)
msle = mean_squared_log_error(y_true, prediction)
r2 = r2_score(y_true, prediction)

print("Mean Absolute Error: ", round(mae, 5))
Expand Down

0 comments on commit 2935fc6

Please sign in to comment.