“invalid value encountered in multiply” during error function in error calculation line : ‘err+= ((y_true[i]*np.log10(hx))+((1-y_true[i])*np.log10(1-hx)))’
what to do to solve this??
“invalid value encountered in multiply” during error function in error calculation line : ‘err+= ((y_true[i]*np.log10(hx))+((1-y_true[i])*np.log10(1-hx)))’
what to do to solve this??
Hello @Jrockstar,
Happy to have you in the community.
I guess its due to an invalid input to log10 function. Please share your code so that we can further assist you with the error.
Thanks