BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Kanyange
Fluorite | Level 6


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

1 ACCEPTED SOLUTION

Accepted Solutions
jwexler
SAS Employee

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

2 REPLIES 2
jwexler
SAS Employee

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

Kanyange
Fluorite | Level 6

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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 893 views
  • 0 likes
  • 2 in conversation