how is one hot encoding used in rapidminer
fungayim
New Altair Community Member
Best Answer
-
Hello fungayim,I think you are looking for "dummy coding", which splits up one categorical attribute into multiple separate attributes, one per category.In RapidMiner this is done with the "Nominal to Numerical" operator, which uses dummy coding as the default coding type. You can also find it in the operator panel by searching for "dummy coding".If your current categorical attribute is represented as a numerical attribute, you first have to convert it to a polynominal type using the "Numerical to Polynominal" operator.I hope this answers your question, otherwise feel free to ask again.
2
Answers
-
Hello fungayim,I think you are looking for "dummy coding", which splits up one categorical attribute into multiple separate attributes, one per category.In RapidMiner this is done with the "Nominal to Numerical" operator, which uses dummy coding as the default coding type. You can also find it in the operator panel by searching for "dummy coding".If your current categorical attribute is represented as a numerical attribute, you first have to convert it to a polynominal type using the "Numerical to Polynominal" operator.I hope this answers your question, otherwise feel free to ask again.
2