Syntax error in function for calculating logloss

前端 未结 0 1817
暖寄归人
暖寄归人 2020-12-31 11:40

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题