how is one hot encoding used in rapidminer

fungayim
fungayim New Altair Community Member
edited November 2024 in Community Q&A
how is one hot encoding used in rapidminer
Tagged:

Best Answer

  • ChristianK
    ChristianK New Altair Community Member
    edited November 2019 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.

Answers

  • ChristianK
    ChristianK New Altair Community Member
    edited November 2019 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.