y_true means correct target values;
Y_pred represents the probability value returned by the classifier to estimate the target
Please calculate the confusion matrix according to these two indicators.
y_true = [True,False,False,True]
y_pred = [0.15,0.97,0.24,0.88]
def func(y_true,y_pred,thresh):
I don't have a solution yet, anyone has a idea?