guillermo-navas-palencia / optbinning

Optimal binning: monotonic binning with constraints. Support batch & stream optimal binning. Scorecard modelling and counterfactual explanations.
http://gnpalencia.org/optbinning/
Apache License 2.0
434 stars 98 forks source link

Question : How does OptBinning handle variables/features of DateTime Datatype ? #300

Open priyankamishra31 opened 4 months ago

priyankamishra31 commented 4 months ago

Hi,

I've seen that when I pass a variable of datatype DateTime, the resulted bin are in integer format.

I wanted to understand how and at which stage are we transforming this value from DateTime to Integer? (I thought it was at the prebinning stage , but couldn't find it)

Thanks for your help with this !

guillermo-navas-palencia commented 4 months ago

Hi @priyankamishra31.

To be honest, I never tried to bin a DateTime variable :). I will give it a try.