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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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