BookmarkSubscribeRSS Feed
Bharat27
Calcite | Level 5

Hi All,

 

I am using SAS Enterprise miner 14.1 and need some advice on- that how can you choose a transformed variable as your target variable. The Data source is connected to data partition followed by transform variable node, where i have transformed my target variable and then passed it through (Linear) Regression but the regression node is throwing me an error that-- 'Select at least one target variable'

So if anyone can help me on this will be great

 

Many Thanks   

2 REPLIES 2
WendyCzika
SAS Employee

That should work... does your target variable have the role of Target in your Input Data node?  Either way, you can try putting a Metadata node after the Transform Variables node and be sure your transformed target has role of Target there, then use your Regression node.

Bharat27
Calcite | Level 5
Hi wendy,

Thanks it's working fine now

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1301 views
  • 1 like
  • 2 in conversation