Machine Learning Tutorial Python 12 - K Fold Cross Validation

preview_player
Показать описание
Many times we get in a dilemma of which machine learning model should we use for a given problem. KFold cross validation allows us to evaluate performance of a model by creating K folds of given dataset. This is better then traditional train_test_split. In this tutorial we will cover basics of cross validation and kfold. We will also look into cross_val_score function of sklearn library which provides convenient way to run cross validation on a model

#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #MachineLearningModel #sklearn #sklearntutorials #scikitlearntutorials

Exercise: Exercise description is avialable in above notebook towards the end

Topics that are covered in this Video:
0:00 Introduction
0:21 Cross Validation
1:02 Ways to train your model( use all available data for training and test on same dataset)
2:08 Ways to train your model( split available dataset into training and test sets)
3:26 Ways to train your model (k fold cross validation)
4:26 Coding (start) (Use hand written digits dataset for kfold cross validation)
12:21 StratifiedKFold
19:45 cross_val_score

Next Video:

Populor Playlist:

Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials

#️⃣ Social Media #️⃣
Рекомендации по теме
Комментарии
Автор

After watching so many different ML tutorial videos and literally so many i have just one thing to say, the way you teach is literally the best among all of them.

You name any famous one like Andrew NG or sentdex but you literally need to have prerequisites to understand their videos while yours are a treat to the viewers explained from so basics and slowly going up and up. And those exercises are like cherry on the top.

Never change your teaching style sir yours is the best one.👍🏻

MrSparshtiwari
Автор

I love that you go through the example the hard way and introduce the cross validation after

beansgoya
Автор

Couldn't ask for a better teacher to teach machine learning. Truly exceptional !!!!Thank You so much for all your efforts.

AltafAnsari-tfnl
Автор

Great stuff indeed. I'm learning machine learning from scratch and this was very helpful. Keep up the good work, kudos!

knbharath
Автор

that approach of doing the manual method of what cross_val_score is doing in the background and then introducing the method! God send! Brilliant. Brilliant I say!

tatendaVIDZ
Автор

Probably the best machine learning tutorials out there... Very good job
Thanks!

parikshitshahane
Автор

The best and the smilpest explanation for cross validation i could find after so mush searching.! Keep up the good work!

layanibandaranayake
Автор

Hi, I'm from Malaysia. I came across your video and I am glad I did it. super easy to understand and I'm currently preparing to learn deep learning. already watch your Python, Pandas, and currently ML videos. thank you for making all these videos. you making our life easier Sir.

Sincerely, your student from Malaysia.

nuraishahzainal
Автор

what an amazing explanation. Finally! I understood cross validation concept so clearly. Thank You so much.

rajnichauhan
Автор

You make exquisite content, I'd love to see more!

apeculiargentleman
Автор

Your videos are AMAZING man!!! I have already recommended these videos to my colleagues in my University who is taking Machine Learning course. They are also loving it...!!! Keep it up champ!

mastijjiv
Автор

What an excellent video, thank you! I got lost in other written tutorials, this was finally a clear explanation!

synaestheticVI
Автор

🌹 You are way way... way better than all of my Machine learning professor at school!

nicoleluo
Автор

I have never seen anyone who can explain Machine Learning and Data Science so easily..
I used to be scared in Machine Learning and Data science, then after seeing your videos, I am now confident that I can do it by myself. Thank you so much for all these videos....
👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏

AlphaGodzilla
Автор

My teacher is frustratingly bad. I am learning from your videos so that I can get a good grade in my class. Thank you for taking some time to demonstrate what is happening. When you showed me with the example at 10:47, I finally understood.

imposternaruto
Автор

Your videos are really good! The explanation is crisp and succinct! Love your videos! Keep posting! By the way, you may not realize it, but you are changing peoples' lives by educating them! Jai Hind!

Suigeneris
Автор

Thank you. This video solved so many questions at once. Nicely done.

alerttrade
Автор

I watch several videos of CV but your video is well explained, thank you, thank you very much sir, keep uploading videos sir

KK-rhcd
Автор

Thank for the very useful and free tutorial series. Salute to you sir!

kmchentw
Автор

Great tutorials with easy to understand examples. Thanks so much!

learnerlearner