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

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