Skip to content

Commit 2935fc6

Browse files
authored
Merge pull request #42 from mihael147work/master
Small fix
2 parents eca0b62 + 5bcb259 commit 2935fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datasist/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def get_regression_report(y_true=None, prediction=None, show_r2_plot=True, save_
257257
'''
258258
mae = mean_absolute_error(y_true, prediction)
259259
mse = mean_squared_error(y_true, prediction)
260-
msle = precision_score(y_true, prediction)
260+
msle = mean_squared_log_error(y_true, prediction)
261261
r2 = r2_score(y_true, prediction)
262262

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

0 commit comments

Comments
 (0)