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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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 lock in 2025 pricing—just $495!

Register now

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
  • 1239 views
  • 0 likes
  • 2 in conversation