Inflearn Community Q&A
sklearn v1.5.1
Written on
·
143
·
Edited
0
from sklearn.metrics import root_mean_squared_error
from sklearn.metrics import root_mean_squared_log_error
y_pred = [11, 22, 33, 44]
y_true = [10, 20, 30, 40]
print("RMSE: ", root_mean_squared_error(y_true, y_pred))
print("RMSLE: ", root_mean_squared_log_error(y_true, y_pred))python머신러닝pandaskaggle





