No video

Categorical Embedding for Training Machine & Deep Learning Models

  Рет қаралды 2,026

Apply AI like a Pro

Apply AI like a Pro

Күн бұрын

A categorical variable is used to represent categories or labels. Machine learning (ML) and deep learning (DL) models only work with numerical variables. Therefore, we will need to convert a categorical variable into numerical values to be able to feed them into an ML or DL model. Traditionally, we convert categorical variables into numbers by either one hot encoding or label encoding. However, those two approaches become problematic when we have a large number of categories or when there are no explicit ordering across categories.
In categorical embedding, each categorical variable category is mapped to an n-dimension vector. This mapping is learned by a neural network during a standard supervised training process. After that, we will replace each category with their corresponding vectors in our data. The advantages of categorical embeddings are: (1) We can limit the number of columns we need per category. This is useful when a variable has many categories; and (2) The generated embeddings obtained from the neural network reveals the intrinsic properties of categorical variables, meaning that similar categories will have similar embeddings.
This tutorial shows how to create categorical embeddings for ML or DL models.
Code used in this video can be downloaded from GitHub:
github.com/Dre...
Hashtags: #tutorial #tutorials #categorical #embedding #encoding #artificialintelligence #machinelearning #deeplearning #python #pythonprogramming #pythontutorial #aitutorial #coding #neuralnetworks #neuralnetwork

Пікірлер: 4
@obibi
@obibi Жыл бұрын
I like the simplicity in which you explain things and present the topics. Thank you for your contribution.
@dan7582
@dan7582 Жыл бұрын
Great video, keep up the good work.
@santiagoajala5404
@santiagoajala5404 11 ай бұрын
I can't use categorical_embedder
@stevenxu5747
@stevenxu5747 5 ай бұрын
Based on your accent, I'm guessing that you're from Taiwan. Am I right?
Use Spark NLP and Machine Learning to Classify Text
23:04
Apply AI like a Pro
Рет қаралды 1,9 М.
A Gentle Introduction to Genetic Algorithms with Python and DEAP
1:35:11
Apply AI like a Pro
Рет қаралды 836
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 16 МЛН
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН
Know About Data Annotation And Its Types
1:03
Learning Spiral AI
Рет қаралды 73 М.
Lord of the Retrievers (LOTR) in 20 Minutes
21:06
Apply AI like a Pro
Рет қаралды 79
Write Effective ChatGPT Prompts to Boost Research Productivity Part I
1:00:38
Use of Advanced RAG to Improve Fact-Checking Ability of Large Language Model
1:27:22
Validate & Standardize LLM Output with Guardrails-AI
14:49
Apply AI like a Pro
Рет қаралды 257
Using GPT for topic modeling
8:00
Sean Cao_Fintech
Рет қаралды 1,6 М.
Introduction to Evolutionary Algorithms
1:29:50
Apply AI like a Pro
Рет қаралды 260
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН