Is there any way of choosing the best threshold while computing the confusion matrix so that number of false positives and false negatives get minimized (to get the best possible combination)?
Till now I have tried changing values of threshold manually but that is too exhausting.
Thanks in advance.