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

Assign label to a single value

Reply
Occasional Contributor
Posts: 5

Assign label to a single value

Hello,

Please could anyone tell me how to assign label to a single value in Enterprise Miner 4.3?

Eg

Sex 1="Female"
2="Male"?

I know how to do it in SAS with format value, but cannot do it in Miner.

Thanx in advance!
SAS Employee
Posts: 35

Re: Assign label to a single value

You have two options.

1. You can do this by GUI using the replacement node. It's very easy.

2. You can enter or include your proc format code in the project start code.

We generally prefer option 1 since custom formats are an additional complication at scoring time. However, both options will do that job.
SAS Employee
Posts: 35

Re: Assign label to a single value

Ooops. I should point out that option 1 is for later versions of EM. We encourage everyone to upgrade. Thanks.
Ask a Question
Discussion stats
  • 2 replies
  • 175 views
  • 0 likes
  • 2 in conversation