Could be possible a cost matrix instead of only cost function? For example, have errors to different cases like: false positive, false negative, true positive, true negative. It’s usefull to medic applications like reduce the error of false positive and negative via a cost matrix. In this case the cost of each 4 cases should be used at cost calculation, instead of only y and yhat
Any idea?
Thanks!