Encoding Categorical Data | Ordinal Encoding | Label Encoding

preview_player
Показать описание
Encoding Categorical Data involves techniques like Ordinal Encoding and Label Encoding, which assign numeric values to categorical variables, facilitating model interpretation.

============================
Do you want to learn from me?
============================

📱 Grow with us:

⌚Time Stamps⌚

00:00 - Intro
00:35 - Revision
03:06 - What is Ordinal data
05:27 - Label Encoding
07:09 - How ordinal encoding works?
09:20 - Code Example
Рекомендации по теме
Комментарии
Автор

I purchased a data science course with around 50k fees but even that they are not teaching this level education. You are such fabulous person.. 👍

dishitvasoliya
Автор

wow I was so confused about column transformer and why everyone is using that. I was so confused. People usually include that in the encoding videos without any explanation.
You are the first person to explain it separately in your series. I am amazed. Thank you Nitish, I will remember you throughout my journey.

katadermaro
Автор

Never knew about Label encoder and Ordinal encoder, I used to apply label encoder on input features, thanks for this hidden insight Nitish Sir.

mridang
Автор

best teacher on youtube respect to data science

KashifAli-yezh
Автор

Sir kya bolo...just itna hi
U r doing great job...with quality conceptual clearity...

paragvachhani
Автор

This is a great channel. I'm glad I found it. Thank you so much, Sir, for making this so simple.

hamzayaseen
Автор

The way you teach is amazing sir, i was trying for months to learn ML, finally i am glad that i found you .

a_wise_person
Автор

Well explained. This really helped me to improve my understanding of ML. Thank you sir.

arhaanahmad
Автор

Thanku so much for clearing concepts of encoding technique with example. Very helpful n informative video.

sneharj
Автор

Course Started : ML
Lecture-01: 14/08/2024
Lecture-02: 14/08/2024
Lecture-03: 14/08/2024
Lecture-04: 14/08/2024
Lecture-05: 14/08/2024
Lecture-06: 15/08/2024
Lecture-07: 15/08/2024
Lecture-08: 15/08/2024
Lecture-09: 15/08/2024
Lecture-10: 15/08/2024
Lecture-11: 16/08/2024
Lecture-12: 16/08/2024
Lecture-13: 17/08/2024
Lecture-14: 17/08/2024
Lecture-15: 18/08/2024
Lecture-16: 19/08/2024
Lecture-17: 20/08/2024
Lecture-18: 20/08/2024
Lecture-19: 21/08/2024
Lecture-20: 21/08/2024
Lecture-21: 22/08/2024
Lecture-22: 22/08/2024
Lecture-23: 23/08/2024
Lecture-24: 23/08/2024
Lecture-25: 24/08/2024
Lecture-26: 24/08/2024

fit_tubes_
Автор

Thank you for the great video, sir.
I wanted to ask wouldn't it be better to encode the data before splitting it? This way we don't have to transform the train and test sets individually.

alimuiz
Автор

M first time comment kar rha, , Kosi channel p because info is really precious, ,, quality bole to Nitish sir

osho_magic
Автор

Thanku so much for clearing encoding concepts. Very good explaination with example.

siyays
Автор

one quick question sir we can do this isntead of these sklearn function this way we can arrange and give orders to our data and its fast too easy to understand instant output
df.education[df['education'] == 'School'] = 0
df.education[df['education'] == 'UG'] = 1
df.education[df['education'] == 'PG'] = 2

df.review[df['review'] == 'Poor'] = 0
df.review[df['review'] == 'Average'] = 1
df.review[df['review'] == 'Good'] = 2

df.purchased[df['purchased'] == 'Yes'] = 1
df.purchased[df['purchased'] == 'No'] = 0

devilsworld
Автор

At 16:29 why didn't we convert our transformed numpy array to dataframe?

geethanshr
Автор

16:28 is there any change in the syntax of transform function also can you give me the new syntax

PriyanshBansal-hb
Автор

You And Krish Naik Sir are the Brahma And Bishnu Of Data Science.

santanubag
Автор

can we perfom label encoding and oridinal encoding before train test split

Sumitrawat
Автор

Doubt

1. Can't we use ordinal encoding and label encoding before X train and Xtest split????
It would have been an easy task to do the encoding before its split.



2. Cant we use replace function of pandas like replace yes and no to 1 and 0, and replace poor, avg and good to some value like 0, 1 2

mohitkushwaha
Автор

"Whenever we are doing a project, instead of train_test_split, we should always do k-fold cross validation." Sir, is my thinking correct ?? If wrong, please rectify me.

saumyashah