BookmarkSubscribeRSS Feed
mzhao
Calcite | Level 5

Hi SAS Community,

 

I have performed cross-validation on a logistic regression model in SAS Enterprise Miner and I found the logs did not report the variables that were used in each cross-validation iteration. Is there any way of obtaining the information on the variables used?

 

The process flow goes like this: ... -> Transform Node (Formula for cross-validation) -> start groups -> Regression Node -> end groups -> model import -> ...

 

Thanks!

5 REPLIES 5
Reeza
Super User
I don't know exactly what you're doing, but typically cross validations doesn't involve changing variables but changing observations.
mzhao
Calcite | Level 5

I don't want to change the variables or observations here. I want to see if there's a way to view the variables that the regression model has used in each cross-validation iteration.

Reeza
Super User
AFAIK, cross validation doesn't change the variables in each iteration, it changes the observations. It's a resampling procedure unless you're doing something drastically different.
mzhao
Calcite | Level 5

Since my logistic regression model is using stepwise regression, the variables used will change if the sample used to train the data changes. So, if the training sample changes, the variables will change in this case.

Reeza
Super User
You never mentioned step-wise regression anywhere so there's no way I can know that was selected. Look at the options for the logistic regression, there should be one to show more details for each iteration, since that exists with the proc.

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
  • 5 replies
  • 660 views
  • 0 likes
  • 2 in conversation