📅  最后修改于: 2022-03-11 14:45:31.729000             🧑  作者: Mango
from sklearn.metrics import mean_squared_log_error
y_true = [3, 5, 2.5, 7]
y_pred = [2.5, 5, 4, 8]
mean_squared_log_error(y_true, y_pred)
0.039...