Closed nic9lif3 closed 7 months ago
Hi @nic9lif3,
The monotonic_trend="auto"
is not infallible. In this particular case, the predicted monotonic trend was not optimal. In general, when event rates are close to flat, the algorithm might fail. However, this situation is much more unlikely for features with medium/high IV.
Hi @guillermo-navas-palencia,
Today I found a weird result with OptimalBinning,
If I use this code, the result will give the IV total is 0.001707
But when I add the monotonic_trend constraint, it will give a better IV 0.005960
This data can be found here datatest.csv Could you explain why it happened? Perhaps the fewer contains, the higher the IV? Thanks.