I am using SAS Enterprise Miner to fit a logistic regression model.
after the Impute node, I am using the transform Variables node with the following instructions:
Interval Inputs= Best
Class Inputs= Dummy Indicators.
After this step, all of my continuous numeric variables are getting transformed into nominal variables being divided into 4 bins for different range of values of the variable. How do I avoid this optimal binning of Numeric variables, so that they remain numeric and do not get transformed to Nominal, whereas for Class variables, dummies are created.
Thank you.
Hello Shradha1 -
For this data, instead of selecting Best as the default Interval Input method, try one of the other methods. Some transformations create nominal variables (example: Optimal Binning), whereas others create interval variables (example: Log). You can select Multiple if you want to see what the result will be for each transformation, and then you can decide what you want on a per-variable basis.
Have a great day.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.