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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.