---
title: "Discussion on \"Handling Categorical Variables\" | Hashnode"
description: "Discussion on \"Handling Categorical Variables\". How does one train ML or AI algorithms when dataset contains categorical variables? Algorithms only understand numerical values.\nThat's why there are techniques known as Label Encoding or One-Hot Encoding. I find the concept cool.\nOne dummy data for ..."
url: "https://hashnode.com/posts/handling-categorical-variables/6568b369f40ebadc9d3ad125"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Handling Categorical Variables](https://monojit13.hashnode.dev/handling-categorical-variables?utm_source=hashnode&utm_medium=feed)

How does one train ML or AI algorithms when dataset contains categorical variables? Algorithms only understand numerical values. That's why there are techniques known as Label Encoding or One-Hot Encoding. I find the concept cool. One dummy data for ...

Nov 30, 2023 · 2 min read · monojit13.hashnode.dev  
Updated Dec 10, 2023  
Read the article

-   [#categorical-data](https://hashnode.com/tag/categorical-data)
-   [#sklearn](https://hashnode.com/tag/sklearn)
-   [#python](https://hashnode.com/tag/python)
-   [#neural-networks](https://hashnode.com/tag/neural-networks)

## Written by

[Monojit Sarkar](https://hashnode.com/@monojit)

@monojit · Kolkata, West Bengal, India

  
[View profile](https://hashnode.com/@monojit)

I taught myself AI and ML by reading books.

I am a self-taught Python aficionado, dancing in the realms of AI and ML. What started as a curious exploration soon turned into a revelation: the unsung heroes behind the AI symphony are linear algebra, probability, and statistics. Astonishingly, these mathematical wizards not only power the algorithms but also surpass human problem-solving finesse.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
