What is One Hot Encoding
Вставка
- Опубліковано 26 сер 2024
- #What is #One #Hot #Encoding?
Trainer: / ashokveda
Watch above video to understand What is one-hot-encoding?
DataMites is providing global valid data science courses. If you wants to be certified data scientist, then Join Datamites data science program,
For Classroom training details visit:
Bangalore: datamites.com/...
Chennai: datamites.com/...
For Online training details visit:
Data Science: datamites.com/...
Machine Learning: datamites.com/...
#DataScience
#MachineLearning
i have now eda endsem practical...this really helped..thank you
Glad it helped!
I was stuck on Knn. Fit for days because it kept saying I had non binary values. This helped me figure what the issue was. I was about to give up. But this helped so much! Thank you!
Thanks for sharing!
thanks
You're welcome! keep Watching
Wonderful way of explanation thank for tutorial
Glad you liked it. Keep watching
Nice video! Thanks!!
Glad you liked it! Keep Watching
Thank you
its better to use data=data.get_dummies( data['place'],drop_first=true)
Hi, yes, you can certainly use this.
Bravo!!!, short and neat approaches!!!
Thank you.
You are dude. you are great
Thank You.
Great
Very helpful. Thank you for this video
You are welcome!
Thank you!
Welcome Mehmet kaya
those asmr keyboard sounds, mmm..
Awesome! Thanks a lot!
You're welcome!
can you please add the link for next video.
Hi, sure we will do it. Meanwhile, you can also check the playlist.
Very helpful video! Thank you.
You're welcome!
Thank you its very useful
You are welcome
Thanks
Thank you so much! That is really helpful ^_^
You're very welcome!
Thank you very much. but how it have 9 and 24 column at a time?
"Hi Muse Safayi Gatalo, 24 columns are after one hot encoding."
I have the same question, it is like there is no concat or merge function applied. How did you add one dataframe of get dummies with main dataframe>
Can you please teach One Hot Encoding by using Sklearn?
Hi Dileep, Sure.we will do it
from sklearn.compose import ColumnTransformer
from sklearn.preprocessing import OneHotEncoder
ct = ColumnTransformer(transformers=[('encoder', OneHotEncoder(), [0])], remainder='passthrough')
x = np.array(ct.fit_transform(x))
print(x)
Sir please tell me..which formula to be used for 1 hot encoding in Excel.
For example searching red then
=IF(A2=Red,1,0)
This only applies for a single column
I want to apply it for whole matrix in one go.
Which formula sir please tell me?
For the single column, it should work. If you are looking in other columns you need the cell name accordingly. Also another approach would be use formula =IF(E7="Red",1,0)
Very impressive
Thank you
I have food names in one column, in which every row has multiple food name. I want to split this column into multiple. Like as, each food name will be column name and if it is present in a specific row it will show 1, otherwise 0. How can I do that?
There might be multiple approach you can go with. I can suggest one of them. You can get count using collections.Counter or value_counts and afterwards you can add column with the corresponding value.
thanks!
Welcome!
Thank u
Welcome
yo all know it legit, when you get the accent
Namma bengaluru
Thank you