Skip to content

Commit 5bcb259

Browse files
Merge pull request #1 from mihael147work/mihael147work-patch-1
Update model.py
2 parents eca0b62 + 084d7ed commit 5bcb259

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)