Загрузка страницы

(Code) K-Fold, Stratified, Leave One Out, Repeated K-Fold Cross Validation Python | Machine Learning

#cross #validation #techniques

In this tutorial, we're going to implement various types of Cross Validation techniques in Python.

Video contents:
02:07 K-Fold CV
13:23 Stratified K-Fold CV
23:07 LeaveOneOut CV
26:04 Repeated K-Fold CV
29:30 How to see different available metrics?
We'll first look at a very popular implementation of cross validation, which is K-Fold Cross Validation, step by step. We'll understand in-depth how to code it out and how do other variants like Stratified K-Fold, LeaveOneOut-CV, Repeated K-Fold, Repeated Stratified K-Fold work.

We'll also look at the sweet little cross_val_score function and how it helps us greatly by doing most of the heavy lifting of splitting up the dataset into folds, doing the iterations and returning us the scores for each of the iterations.

Cross Validating on our data help us in avoiding overfitting, making our models more robust, finding the optimal hyperparameters for our data and better generalize to the future unseen data.

These topics are so important that they should be grasped before learning how to fit a machine learning algorithm to a dataset and celebrate when the accuracy shows 98%!

I've uploaded all the relevant code and datasets used here (and all other tutorials for that matter) on my github page which is accessible here:

Link:

https://github.com/rachittoshniwal/machineLearning

If you like my content, please don not forget to upvote this video and subscribe to my channel.

If you have any qualms regarding any of the content here, please feel free to comment below and I'll be happy to assist you in whatever capacity possible.

Thank you!

Видео (Code) K-Fold, Stratified, Leave One Out, Repeated K-Fold Cross Validation Python | Machine Learning канала Rachit Toshniwal
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
10 августа 2020 г. 20:48:20
00:30:47
Яндекс.Метрика