4.5. Label Encoding | Data Pre-Processing | Machine Learning Course

  Рет қаралды 28,468

Siddhardhan

Siddhardhan

Күн бұрын

Пікірлер: 32
@sujahathsiddeek378
@sujahathsiddeek378 9 ай бұрын
When you use LabelEncoder to transform categorical variables into numerical values, the mapping of labels to categories is stored within the LabelEncoder object. You can access this mapping using the classes_ attribute after fitting the LabelEncoder to your data. This is how you can do it easily: label_mapping = dict(zip(range(len(label_encoder.classes_)), label_encoder.classes_)) print("Label Mapping:", label_mapping)
@farahamirah2091
@farahamirah2091 2 жыл бұрын
Totally understand, your content is lit , thank you
@unvatopregunta1572
@unvatopregunta1572 2 жыл бұрын
Excuse me sir, why do we use two encode functions for the two data? Isn't it possible to use the same function? I love your content, I have found it quite clear and encouraging
@noorulainmushtaq2079
@noorulainmushtaq2079 Жыл бұрын
create all these vidoes on 1 dataset why using different datasets oerall you doing great job
@restphilanthropy
@restphilanthropy Жыл бұрын
How are all these free??? God bless you soo much sir😍
@sonamraj-h5y
@sonamraj-h5y 6 ай бұрын
it's amazing sir!!!!
@LawalMuqsit
@LawalMuqsit 3 ай бұрын
Hi siddardhan I need your advice. Earlier this year I was learning data analysis. But switched to machine learning. I tend to forget most things I learnt from data analysis. I want to ask if there is a way to combine the two or I should just put my focus on machine learning Thank you
@Amitsharma-nc9yc
@Amitsharma-nc9yc 3 жыл бұрын
Hi Siddhardhan How we can encoded multiple column. Like we have 3 column in a data set which i want to encoded
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Hi! Watch my "Medical insurance cost prediction" Project Video... In that I have encoded 3 columns.
@gokulmayuram
@gokulmayuram 3 жыл бұрын
Can you post some interview questions for data science??
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Hi! I haven't planned that video. I'll make that video as soon as possible.
@gokulmayuram
@gokulmayuram 3 жыл бұрын
@@Siddhardhan I like the way you are explaining. Good work.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Thank you so much 😇
@shahbazkhalilli8593
@shahbazkhalilli8593 2 жыл бұрын
hello, firstly content is clear but can we change the numbers for example can we get 1 for benign and 0 for malignant, thanks in advance
@Darklord-uk6yi
@Darklord-uk6yi Жыл бұрын
Hello sir, great explanation, could you kindly tell me where to download this cancer DATASET from?
@sachinvithubone4278
@sachinvithubone4278 3 жыл бұрын
In label encoding, if in target variable have 3 values. Ex. D, T and G then how it will be transferred.?
@sachinvithubone4278
@sachinvithubone4278 3 жыл бұрын
I got the answer for this in Iris dataset.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
okay.
@classicemmaeasy2292
@classicemmaeasy2292 Жыл бұрын
pls explain further
@pranav.explore894
@pranav.explore894 3 жыл бұрын
sir , suggest any book to learn data science
@aminesahraoui5422
@aminesahraoui5422 3 жыл бұрын
Hello Mr. Siddhardhan, why those chapters are not mentioned in the Course Curriculum ??
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! it's a tentative curriculum. I may have to make videos on some topics that are not mentioned in the curriculum.
@aminesahraoui5422
@aminesahraoui5422 3 жыл бұрын
OK got it. Thank you
@khorkhuaneng5554
@khorkhuaneng5554 3 жыл бұрын
Hi Sir, for your videos, do i need to go through all your videos first before going to Project modules?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! u can start watching the project videos after 4th module. but the other modules are important as well.
@vinaynaik953
@vinaynaik953 3 жыл бұрын
Thank you very much
@Siddhardhan
@Siddhardhan 3 жыл бұрын
You are welcome😇
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 3 жыл бұрын
can you please create project on Multiclass classification problem like thyroid disease classification.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
sure! I'll consider it.
@sachinvithubone4278
@sachinvithubone4278 3 жыл бұрын
I have another daubt is without Labelencoder we can change the values of target variable. Using below code Df.loc[df[colName] == 'column value', ColName]=0
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! I don't get ur question
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
4.1. Where to Collect Data For Machine Learning? | Data Collection
13:26
How I'd learn ML in 2025 (if I could start over)
16:24
Boris Meinardus
Рет қаралды 149 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 432 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН