Skip to main content

As per my intuition, decision treetrees should work wellbetter with categorical variablevariables than with continuous variablevariables. ThenIf this is the case, why is a encoding needed on categorical variablevariables? Can someone give me the intuition behind this?

As per my intuition, decision tree should work well with categorical variable than with continuous variable. Then why is a encoding needed on categorical variable? Can someone give me the intuition behind?

As per my intuition, decision trees should work better with categorical variables than with continuous variables. If this is the case, why is encoding needed on categorical variables? Can someone give me the intuition behind this?

Source Link
Mukesh K
  • 101
  • 1
  • 1
  • 5

Why decision tree needs categorical variable to be encoded?

As per my intuition, decision tree should work well with categorical variable than with continuous variable. Then why is a encoding needed on categorical variable? Can someone give me the intuition behind?