Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
141 B
3
Indexable
Never
from sklearn.metrics import mean_absolute_percentage_error
mape = mean_absolute_percentage_error(y_test, lgb_pred)
print('MAPE: %f' % mape)