Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Variable Transformation in SAS EM. Please Help..Thanks

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 95
Accepted Solution

Variable Transformation in SAS EM. Please Help..Thanks


Hi,

I would like to transform a variable called 'score' in Enterprise Miner using the function below, what's the equivalent in SAS Enterprise Miner?

cast( score * 10 as int) as decile, (This is SQL Teradata function).

Many Thanks


Accepted Solutions
Solution
‎11-08-2013 10:42 AM
SAS Employee
Posts: 68

Re: Variable Transformation in SAS EM. Please Help..Thanks

Kanyange, you can use the Transform Variables node, which is located in the Modify Tab.  Click on Formulas under Train on the Properties Panel, and then you can build custom transformations.  By default, the original un-transformed variables are rejected/hidden, so if you want to keep them, change 'Hide' to no under the Score options in the Properties panel.

Thanks,

Jonathan

View solution in original post


All Replies
Solution
‎11-08-2013 10:42 AM
SAS Employee
Posts: 68

Re: Variable Transformation in SAS EM. Please Help..Thanks

Kanyange, you can use the Transform Variables node, which is located in the Modify Tab.  Click on Formulas under Train on the Properties Panel, and then you can build custom transformations.  By default, the original un-transformed variables are rejected/hidden, so if you want to keep them, change 'Hide' to no under the Score options in the Properties panel.

Thanks,

Jonathan

Frequent Contributor
Posts: 95

Re: Variable Transformation in SAS EM. Please Help..Thanks

Many Thanks Jon....it worked fine...Smiley Happy

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 251 views
  • 0 likes
  • 2 in conversation