I am trying to calculate logloss using following function
from functools import reduce import math def logloss(y_true,y_pred): b=[(y_true[i]*(np.log10((y