Options

Should you normalize dummy coded variables in clustering?

CuriousCurious Member Posts: 12 Newbie
edited June 2019 in Help
Can you keep them as dummies and only normalize numeric variables?
Tagged:

Best Answer

Answers

  • Options
    IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,
    I would say this depends on the normalization.  If you normalize the rest to the range between 0 and 1, you can keep them as is.  Otherwise I would personally normalize all columns the same way (e.g. z-transformation).
    Hope this helps,
    Ingo
  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 RM Data Scientist
    Hi,
    i usually use PCA after dummy coding to get rid of the problem.
    Best,
    Martin 
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    @mschmitz but doesn't that get rid of your underlying attributes as well and replace them with synthetic PCs?  That's probably not a helpful feature for clustering, or at least it wouldn't be for most of the clustering projects I have worked on.
    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 RM Data Scientist
    @Telcontar120,
    i later on join the original data back to the clustering results and start to interpret from there.

    BR,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.