In reply to Laine.

Since you use the terms "optimal" and "model performance," I assume you are looking for a way to bin regressor variables to fit a binary target (response) variable. Do an internet search for "weight of evidence" (WOE). In SAS 9, the HPBIN procedure reports the weight-of-evidence. There is an example in the doc that explains how to interpret the results. In SAS Viya, you can use the BINNING procedure for weight-of-evidence computations.