SAS Data Science

Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Viya (Machine Learning), SAS Visual Text Analytics, with point-and-click interfaces or programming
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Reeza
Super User
The dataset should exist in your work library, you now have the name. You should be able to use it as any other table.
Urban_Science
Quartz | Level 8

I'm sorry to chime in after this thread has been marked as "Solved!", but the easiest way to use the residuals from a regression model as the target of another model is to:

1. Connect a Metadata node after the regression node.  

2. Click on "..." In the Train Property value

3. Find the column that has Role = "Target" and change New Role to "Rejected"

4. Find the column that has Role = "Residual" and change New Role to "Target" (This column should also start with R_ like Reeza said)

5. Click "OK" (in the lower right corner of the window)

 

Any nodes after the Metadata node will now use that residual column as the target variable.

 

Attached is an example picture of the options.

Reeza
Super User
Thanks for chiming in, always best to know the most efficient way to do something. I don't have access to EM anymore so most answers are off memory or documentation.

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 18 replies
  • 3192 views
  • 3 likes
  • 3 in conversation