The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] Converting Numerical to Nominal data types, with content replaced
transformers123
Member Posts: 7 Contributor II
Hello All,
I'm new to RapidMiner and while I was experimenting with it, I was not sure of how to do the following process....
I'm making use of Golf Data in Samples provided.
I want to convert the temperature & humidity to nominal form i.e.,
temp <=75 => cool
temmp > 75 and temp <= 85 => medium
temp > 85 hot
similarly with humidity.
i tried to use the numerical to nominal option, but it doesn't seem to work that way.
Is there an option to use?
Thanks in advance.
I'm new to RapidMiner and while I was experimenting with it, I was not sure of how to do the following process....
I'm making use of Golf Data in Samples provided.
I want to convert the temperature & humidity to nominal form i.e.,
temp <=75 => cool
temmp > 75 and temp <= 85 => medium
temp > 85 hot
similarly with humidity.
i tried to use the numerical to nominal option, but it doesn't seem to work that way.
Is there an option to use?
Thanks in advance.
0
Answers
you can use the "Generate Attributes" operator for that. Because you are changing a numerical attribute to a nominal one, you cannot overwrite the same attribute, so you have to create a new one. The old one could be removed via "Select Attributes". See the following example process: Regards,
Marco
Thanks