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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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