BookmarkSubscribeRSS Feed
Shradha1
Obsidian | Level 7

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.

1 REPLY 1
MikeStockstill
SAS Employee

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.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to choose a machine learning algorithm

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.

Discussion stats
  • 1 reply
  • 737 views
  • 0 likes
  • 2 in conversation