Categorical

Decision Trees Natively Handle Categorical Data

machine learning algorithms can’t handle categorical variables. But decision trees (DTs) can. Classification trees don’t require a numerical goal either. Below is an illustration of a tree that classifies a subset of Cyrillic...

Encoding Categorical Data, Explained: A Visual Guide with Code Example for Beginners

DATA PREPROCESSINGSix ways of matchmaking categories and numbers10 min read·19 hours agoAh, categorical data — the colourful characters in our datasets that machines just can’t seem to grasp. That is where “red” becomes 1,...

Avoiding abuse and misuse of T-test and ANOVA: Regression for categorical responses

We do the model comparison using the the loo package (9, 10) for leave-one-out cross validation. For an alternate approach using the WAIC criteria (11) I suggest you read this post also published by...

Categorical Features: What’s Improper With Label Encoding?

Why we are able to’t arbitrarily encode categorical featuresIt’s well-known that many machine learning models can’t process categorical features natively. While there are some exceptions, it’s normally as much as the practitioner to come...

Recent posts

Popular categories

ASK ANA