Column Transformer in Machine Learning | How to use ColumnTransformer in Sklearn

  Рет қаралды 101,491

CampusX

CampusX

Күн бұрын

Пікірлер: 120
@ameerrace2284
@ameerrace2284 3 жыл бұрын
Why have you used fit_transform for test? Shouldn't it be only transform?
@campusx-official
@campusx-official 3 жыл бұрын
Yes it's a mistake. Sorry about that
@okonkwo.ify18
@okonkwo.ify18 2 жыл бұрын
Nope. U fit_transform the data that’s going to be fitted into d model.
@GamerBoy-ii4jc
@GamerBoy-ii4jc 3 жыл бұрын
or kch ni pta but Sir apki videos ny meri zindgi zroor mentos bna di. Thanks alot Sir! for this hard work.
@monikrayu2546
@monikrayu2546 5 ай бұрын
i only like boomer
@mayureshgawai5951
@mayureshgawai5951 2 жыл бұрын
Before: No perfect explanation exists. After: Ok, CampusX is an exception😅
@fit_tubes_365
@fit_tubes_365 4 ай бұрын
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 Lecture-27: 25/08/2024 Lecture-28: 25/08/2024
@shortsbypawanverma6878
@shortsbypawanverma6878 Ай бұрын
why you stopped man come back and keep it going buddy
@prashantmalik5333
@prashantmalik5333 2 жыл бұрын
bro, your teaching skills are extra ordinary ... I'm in love with ML because of you... I wonder why your channel isn't on the top while suggesting ML videos .. I think the GOOGLE algorithm needs to improve 🤣 Once again thanks for your videos.
@11aniketkumar
@11aniketkumar Жыл бұрын
Thank god, I came across this channel. This channel is a hidden gem. Thanks a lot sir.
@kshitiztiwari9275
@kshitiztiwari9275 2 жыл бұрын
Bhai you are good. Specially for we Indians... We know English But Hindi main its so Good and Your content is perfect. Just Perfect. Kudos.
@theentertainmentworld3310
@theentertainmentworld3310 Жыл бұрын
Bro is converting our zindgi into mintos zindagi 😅 , thanks for grate explanation
@ajaykushwaha4233
@ajaykushwaha4233 3 жыл бұрын
Kitna shandaar aap explain kerte hain, dil garden garden ho gaya. Aam zindagi aur mentos zindagi kabhi nehi bhoole ga. 👌🏻
@mohammadvahidansari8212
@mohammadvahidansari8212 3 жыл бұрын
You are great sir!! Really you are fabulous teacher..... Your teaching is mind blowing....
@jamesdsouza4206
@jamesdsouza4206 Жыл бұрын
Aam zindagi and CampusX zindagi... I like the way u teach.... Very interesting n informative videos.... Currently my goal is to cover the 100 days ML playlist..... Thanks alot for your efforts sir😊
@mathics2869
@mathics2869 7 ай бұрын
Your videos convert my life from aam Zindagi to mentos zindagi .
@riteshpatel238
@riteshpatel238 8 ай бұрын
Good part about your videos is that you not only show the solution but also focus on the pain areas which brings the necessity of a solution.
@dauntless4498
@dauntless4498 Жыл бұрын
wtf bro.!!! climex was more interesting than Avengers: End Game. Thank you so much ,.......
@shrirangjage999
@shrirangjage999 Жыл бұрын
other youtubers : aam zindagi campusx : mentos zindagi
@dilipgyawali1776
@dilipgyawali1776 3 жыл бұрын
really mentos jindagi well explained ....thank u very much
@mansichougule1174
@mansichougule1174 5 ай бұрын
feeling so involved while watching your videos.... Thank you sooooo much for simple explanation!!!
@mrsnoopdoggiedogg
@mrsnoopdoggiedogg 2 жыл бұрын
You are a legend. Thank you so much. Your teaching concepts are so precise.
@MonkeyDLuffy4885
@MonkeyDLuffy4885 2 жыл бұрын
Aam zindagi, Mentos Zindagi😂😂 Great Video Nitish Sir❤❤
@sharjeelkhan8225
@sharjeelkhan8225 2 жыл бұрын
Brother, you made it so easy to understand.
@vipin2872
@vipin2872 7 ай бұрын
Was looking for this from long time , Thankyou sir for mking this...properly explained
@manishpingale6558
@manishpingale6558 5 ай бұрын
CapusX dekh dala to life jingalala!!!
@kislaykrishna8918
@kislaykrishna8918 3 жыл бұрын
thanku sir❤️ keep on blessing us with your teaching ❤️
@laxminarayana9466
@laxminarayana9466 3 жыл бұрын
Wow good and simple explanation 😇
@narendraparmar1631
@narendraparmar1631 Жыл бұрын
Thanks a lot for sharing this precious knowledge.😀
@tejaskamble8731
@tejaskamble8731 11 ай бұрын
10:53 awesome ❤
@AlayaKiDuniya
@AlayaKiDuniya 8 ай бұрын
O thaank God. Column transformer saved my life.
@shivamshaw_07
@shivamshaw_07 6 ай бұрын
Amazing video.
@RithikaVivaram
@RithikaVivaram 3 ай бұрын
best content ever💯
@nikcru
@nikcru Жыл бұрын
Beautifully explained... Liked & Subscribed. :)
@rohitmadke8407
@rohitmadke8407 Жыл бұрын
Very well explained... Best resource on youtube... but i have major doubt!! why dont you apply all transformation to data and then split it... why are you splitting it first and then performing transformation?
@alkalinebase
@alkalinebase 2 жыл бұрын
Thankyou so much. It was crystal clear and to the point for a beginner like me.
@anuragshrivastava7855
@anuragshrivastava7855 3 жыл бұрын
Bst vdo bst tutor bst channel ths vdo is awesome
@balrajprajesh6473
@balrajprajesh6473 2 жыл бұрын
God level teaching!
@dimplepassi7731
@dimplepassi7731 Жыл бұрын
Very clearly explained
@jitendratrivedi7889
@jitendratrivedi7889 3 жыл бұрын
Amazing video , love your style of teaching...
@sameerpandey5561
@sameerpandey5561 3 жыл бұрын
Superb Explanation. You are doing a great job. One of my best channels for learning ML along with Statquest ♥ Please confirm if it is possible to get in touch with you personally and get trained by you?
@campusx-official
@campusx-official 3 жыл бұрын
nitish.campusx@gmail.com you can contact me on this email id
@saurabhbarasiya4721
@saurabhbarasiya4721 3 жыл бұрын
great explanation .........
@kunalpandya8468
@kunalpandya8468 Жыл бұрын
For Aam zindagi section, you used fit_transform for X_test also... It should be only transform na..
@Enjoyurlife1789
@Enjoyurlife1789 Жыл бұрын
Yes he committed his mistake in above comments.
@whitepanda95
@whitepanda95 Жыл бұрын
😅 Really can be more thankful, you are reason, I feel confident that, I will crack machine learning and also learn upto LLM else I would had drop my transition altogether, thank you very much for motivating me. Already bought course, hope all people also support you with same. 🎉
@siddharth4251
@siddharth4251 7 ай бұрын
15:00 __bas yeh ek line aap ki zindagi badal sakta he !!!
@GamesKaMantralaya
@GamesKaMantralaya 3 күн бұрын
'ek line ka code, aapka life badal sakta ha'🙂👍🏻
@tejaskamble8731
@tejaskamble8731 10 ай бұрын
Aam Zindagi 7:08 😢 Mentos Zindagi 10:53 ❤
@ajaysinghrawat7157
@ajaysinghrawat7157 4 күн бұрын
Thank you sir❤❤❤
@saurabhdas2234
@saurabhdas2234 7 ай бұрын
wow , explain so well
@renurenu7629
@renurenu7629 4 ай бұрын
sir please make more videos on column transform with more categorial columns...💯👍🙏🙏
@PulokeshChatterjee
@PulokeshChatterjee Жыл бұрын
kudos to you man!!
@jayshreedonga2833
@jayshreedonga2833 2 жыл бұрын
NICE LECTURES THANKS
@deepanshudutta4443
@deepanshudutta4443 3 жыл бұрын
Sir one confusion,after using columntransformer we get numpy array,when we convert it into dataframe,we get column names like 0,1,2,....how we rename the column name? Because there are lots of column...
@TheKumarAshwin
@TheKumarAshwin 6 ай бұрын
Voiii yaauuuuu voiii yaauuuuu Voiii yaauuuuu voiii yaauuuuu.. DADDU!!💡
@siddhithakur8452
@siddhithakur8452 2 жыл бұрын
Awesome ☺☺
@imrankhan-hi6nq
@imrankhan-hi6nq 2 жыл бұрын
thank you very much sir
@elyaabbas7216
@elyaabbas7216 3 жыл бұрын
Great just amazing. love it
@shubhamgosain4534
@shubhamgosain4534 3 жыл бұрын
Thank you sir
@arjunsingh-dn2fo
@arjunsingh-dn2fo 6 ай бұрын
sir, can we apply this before train_test_split ?
@motivationalfacts4964
@motivationalfacts4964 3 жыл бұрын
What if we have missing values in numeric column and other one has Categorical column? Could we use simple imputer for two times one as for using mean and other one for MODE for handling the categorical missing values?
@eeshananand3773
@eeshananand3773 Жыл бұрын
Sir their is a bit mistake you made in your code when i went through github, without using column transformer, when the algorithm were applied in each column, the fit_transform was used in both the training dataset as well as the testing dataset but this is wrong because out test datasets is based on the training dataset, so we cant impose fit_transform function on test dataset based on test dataset
@calvinfernandez-hi6ij
@calvinfernandez-hi6ij Жыл бұрын
I have this question as well as to why are we doing fit_transform on testing data. Should'nt we just be doing transform
@namirkhan8515
@namirkhan8515 8 ай бұрын
Great Vid
@yashjain6372
@yashjain6372 2 жыл бұрын
bhai best
@readbhagwatgeeta3810
@readbhagwatgeeta3810 2 жыл бұрын
What is the difference in using np.hstack and using np.concatenate? 🤔
@mdyounusahamed6668
@mdyounusahamed6668 Жыл бұрын
I would like to thank you for making such awesome videos. But here, you used the fit_transform() method with the test dataset. Isn't it transform()?
@tejaskamble8731
@tejaskamble8731 10 ай бұрын
No he fit_transform only training data 14:57
@AbdulRahman-zp5bp
@AbdulRahman-zp5bp 3 жыл бұрын
Thanks you 3000 🙂
@tusarmundhra5560
@tusarmundhra5560 Жыл бұрын
awesome
@yashkumarcharde535
@yashkumarcharde535 3 жыл бұрын
Sir, please make a complete tutorial on Machine Learning Algorithm
@hassamkafeel
@hassamkafeel 8 ай бұрын
resulting array from column transfer is not in same order as of dataframe, right? why?
@pritishpattnaik4674
@pritishpattnaik4674 Жыл бұрын
I like the Mentos Zindegi😅
@Engineer884
@Engineer884 11 ай бұрын
9:45 you didn't fit the age column, is it correct?
@sachin2725
@sachin2725 2 жыл бұрын
Hello Sir, XGBoost is not included in playlist, could you please make a video on XGBoost ?
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 3 жыл бұрын
I have a doubt in data preprocessing. First we remove outlier --> Feature scaling --> Gaussian Distribution or remove outlier --> Gaussian Distribution --> Feature scaling , kindly help.
@piyudhanwate26
@piyudhanwate26 3 жыл бұрын
from where I can download all datasets you used in all sessions??
@campusx-official
@campusx-official 3 жыл бұрын
From my github account
@purushottammitra1258
@purushottammitra1258 3 жыл бұрын
In 14:53 why not fit_transform is used with xtest??
@campusx-official
@campusx-official 3 жыл бұрын
Because it is already fitted with the training data
@purushottammitra1258
@purushottammitra1258 3 жыл бұрын
@@campusx-official but at 7:38 x_test_fever = si. fit_transform..?? Also, x_test_cough=oe.fit_transform..?? Pls explain?
@purushottammitra1258
@purushottammitra1258 3 жыл бұрын
Is it a typo??
@Sara-fp1zw
@Sara-fp1zw 3 жыл бұрын
@@purushottammitra1258 yes
@noone0978
@noone0978 7 ай бұрын
sir can't we use label encoding in gender because we only have two types. male and females, just like you said email classification as spam and non spam? answer = NO, because label encoding is done on y axis and not on x i.e on output and not input
@maza.tu.h
@maza.tu.h 10 ай бұрын
Column names are not shown after column transformation. Any solution for this?
@prathamsaboo
@prathamsaboo 11 ай бұрын
Anyone getting concatenation error? all the input array dimensions except for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 20 and the array at index 1 has size 80
@ronylpatil
@ronylpatil 3 жыл бұрын
Sir columns get shuffled when we do column transformer. Is there any impact of this?
@MUHAMMADAHMAD-c7m
@MUHAMMADAHMAD-c7m 8 ай бұрын
What is logic behind multicollinearity, and you drop='first'
@nagmachoudhary4879
@nagmachoudhary4879 Жыл бұрын
How did we know that 80 rows comes in training data and 20 rows for test data ....i am confused sir please explain
@uf9927
@uf9927 10 ай бұрын
where can I get the oneNote file?
@ShamaAmeer-i4x
@ShamaAmeer-i4x 9 ай бұрын
Sir updated sklearn mein sparse ko remove kar dia gaya hai.
@JavedKhan-nr2oo
@JavedKhan-nr2oo 3 жыл бұрын
Sir LabelEncoder kaise lagaye gay
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 3 жыл бұрын
Hi Sir, how can we provide column name on the transformed data set ?
@samikkzz
@samikkzz 2 жыл бұрын
Can anyone tell me how does column transformer know columns of which data frame to transform as it is not passed in any argument of ColumnTransformer()
@shreekanth4068
@shreekanth4068 3 жыл бұрын
sir,does SimpleImputer default takes mean value then how can it we deal with mode
@campusx-official
@campusx-official 3 жыл бұрын
kzbin.info/www/bejne/o3SvY6uCd6mqbq8
@umasharma6119
@umasharma6119 2 жыл бұрын
🔥🔥🔥🔥
@arpittrivedi6636
@arpittrivedi6636 2 жыл бұрын
🤩Wow
@anshulsharma7080
@anshulsharma7080 2 жыл бұрын
Bhaiya m is series ko complete to kr lunga but kya as a associate professional y mujhe help krega??
@mahender2517
@mahender2517 3 жыл бұрын
just one small doubt, would be great if anyone can clear. Why to train test split first and then do column transform separately for both train and test sets.We can also first transform the sets and then split the set into train and test
@rolitrivedi3190
@rolitrivedi3190 2 жыл бұрын
Simply because train test split should always be done before any transformation. Test data is something we should not see beforehand otherwise the result may not be right
@Star-xk5jp
@Star-xk5jp Жыл бұрын
day2-date:10/1/24
@lj123-g9d
@lj123-g9d 10 ай бұрын
mentos zindagi is best 🤣🤣
@BIPLAVKANT
@BIPLAVKANT 2 жыл бұрын
You have given the ends in the video only in array format.. do not convert to data frame.
@mukeshnayak7984
@mukeshnayak7984 2 жыл бұрын
how to finally convert to dataframe?
@maaleem90
@maaleem90 Жыл бұрын
I am sure this guy is from telangana, most probably from hyderabad
@limjuroy7078
@limjuroy7078 2 жыл бұрын
Could you provide English subtitles please!!! 🥺🥺🥺 Quite difficult for me to understand since I am not Indian
@you_goat_code
@you_goat_code 6 ай бұрын
Sir Plz mujhey scikit learn ka koi tutorial suggest kr dein magar hindi mai plz😢😢😢 mujhey buhut difficulty ho rahi samajne mai
@subhajitmaji752
@subhajitmaji752 2 ай бұрын
29/10 5:34
@sameer9045
@sameer9045 Жыл бұрын
aam zindagi 😁😁😁🤣🤣
@MRAgundli
@MRAgundli 7 ай бұрын
done
@rohinijadhav744
@rohinijadhav744 2 жыл бұрын
mentos zindagi......hehe
@dhanushraj3697
@dhanushraj3697 2 жыл бұрын
please use a little bit of English on your next videos.
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 3 жыл бұрын
Hi Sir, maine ismein N frequent label wala concept ismein add kiya hai. Kindly let me know is my approach sehi hai ? cat=df['brand'].value_counts() threshold=100 repl=cat[cat
@arkophredy
@arkophredy 2 жыл бұрын
I guess it would be ideal you explained in English so some of us could understand. very unfortunate
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Simplify Data Preprocessing with Python's Column Transformer: A Step-by-Step Guide
13:52
How do I encode categorical features using scikit-learn?
27:59
Data School
Рет қаралды 140 М.
Encoding Categorical Data | Ordinal Encoding | Label Encoding
19:53
Professional Preprocessing with Pipelines in Python
21:48
NeuralNine
Рет қаралды 66 М.