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)
@farahamirah20912 жыл бұрын
Totally understand, your content is lit , thank you
@unvatopregunta15722 жыл бұрын
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 Жыл бұрын
create all these vidoes on 1 dataset why using different datasets oerall you doing great job
@restphilanthropy Жыл бұрын
How are all these free??? God bless you soo much sir😍
@sonamraj-h5y6 ай бұрын
it's amazing sir!!!!
@LawalMuqsit3 ай бұрын
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-nc9yc3 жыл бұрын
Hi Siddhardhan How we can encoded multiple column. Like we have 3 column in a data set which i want to encoded
@Siddhardhan3 жыл бұрын
Hi! Watch my "Medical insurance cost prediction" Project Video... In that I have encoded 3 columns.
@gokulmayuram3 жыл бұрын
Can you post some interview questions for data science??
@Siddhardhan3 жыл бұрын
Hi! I haven't planned that video. I'll make that video as soon as possible.
@gokulmayuram3 жыл бұрын
@@Siddhardhan I like the way you are explaining. Good work.
@Siddhardhan3 жыл бұрын
Thank you so much 😇
@shahbazkhalilli85932 жыл бұрын
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 Жыл бұрын
Hello sir, great explanation, could you kindly tell me where to download this cancer DATASET from?
@sachinvithubone42783 жыл бұрын
In label encoding, if in target variable have 3 values. Ex. D, T and G then how it will be transferred.?
@sachinvithubone42783 жыл бұрын
I got the answer for this in Iris dataset.
@Siddhardhan3 жыл бұрын
okay.
@classicemmaeasy2292 Жыл бұрын
pls explain further
@pranav.explore8943 жыл бұрын
sir , suggest any book to learn data science
@aminesahraoui54223 жыл бұрын
Hello Mr. Siddhardhan, why those chapters are not mentioned in the Course Curriculum ??
@Siddhardhan3 жыл бұрын
hi! it's a tentative curriculum. I may have to make videos on some topics that are not mentioned in the curriculum.
@aminesahraoui54223 жыл бұрын
OK got it. Thank you
@khorkhuaneng55543 жыл бұрын
Hi Sir, for your videos, do i need to go through all your videos first before going to Project modules?
@Siddhardhan3 жыл бұрын
hi! u can start watching the project videos after 4th module. but the other modules are important as well.
@vinaynaik9533 жыл бұрын
Thank you very much
@Siddhardhan3 жыл бұрын
You are welcome😇
@ajaykushwaha-je6mw3 жыл бұрын
can you please create project on Multiclass classification problem like thyroid disease classification.
@Siddhardhan3 жыл бұрын
sure! I'll consider it.
@sachinvithubone42783 жыл бұрын
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