8.2. Cross Validation - Python implementation | cross_val_score | Cross Validation in Sklearn

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Hi! I will be conducting one-on-one discussion with all channel members. Checkout the perks and Join membership if interested: / @siddhardhan Check membership Perks: / @siddhardhan
    . This video is about how to implement Cross Validation in Python. For this, we will be using croos_val_score function in sklearn.
    All presentation files for the Machine Learning course as PDF for as low as ₹200 (INR): Drop a mail to siddhardhans2317@gmail.com
    K-Fold Cross Validation - concept video: • K Fold Cross Validatio...
    Heart Disease prediction video: • Project 9. Heart Disea...
    Colab File: colab.research...
    Dataset file link: drive.google.c...
    Machine Learning Course with Python Playlist: • Machine Learning Cours...
    Machine Learning Projects Playlist: • Machine Learning Projects
    Hello everyone! I am setting up a donation campaign for my RUclips Channel. If you like my videos and wish to support me financially, you can donate through the following means:
    From India 👉 UPI ID : siddhardhselvam2317@oksbi
    Outside of India? 👉 Paypal id: siddhardhselvam2317@gmail.com
    (No donation is small. Every penny counts)
    Thanks in advance!
    Let's build a Community of Machine Learning experts! Kindly Subscribe here👉 tinyurl.com/md...
    I am making a "Hands-on Machine Learning Course with Python" in RUclips. I'll be posting 3 videos per week: Monday Evening; Wednesday Evening; Friday Evening.
    Download the Course Curriculum File from here: drive.google.c...
    LinkedIn: / siddhardhan-s-741652207
    Telegram Group: t.me/siddhardhan
    Facebook group: www.facebook.c...
    Getting error in any of the codes that I have explained? Mail the details of the error to: datascience2323@gmail.com Instagram: / siddhardhan23

Комментарии • 31

  • @NirajBhatt-e8n
    @NirajBhatt-e8n Год назад

    I express my heartfelt gratitude for such clean-concept videos.

  • @kandiahchandrakumaran8521
    @kandiahchandrakumaran8521 9 месяцев назад

    Excellent video. Well done.
    Are you able to create a video to generate nomogram for customer churn?
    Thank you.

  • @chiragahlawat465
    @chiragahlawat465 3 месяца назад

    Sir apart from classification problem, is stratify also useful in regression problem?? Thank you Sir for this beautiful explanation ❤

  • @InsPiringMegamind
    @InsPiringMegamind Год назад

    Why here we comparing
    scores.mean and test score
    Why here we use cross validation
    And why we calculate scores.mean
    Please explain
    If scores.mean() not equal to test score
    1)!=
    2)<
    3)>

  • @R.Srimathy
    @R.Srimathy 6 месяцев назад

    Sir, Thanks for the clear explanation.
    I have a question, In 27:30 you are saying that we can use "either of the one (i.e.) cross_validation or train_test_split. Whether you mean we do not need to use train_test_split at all and directly we can use cross-validation to check the model?
    If that is the case splitting the dataset is the basic and important step right for machine learning right?
    Please correct my understanding

  • @satire6344
    @satire6344 Год назад

    I am looking for corss validation and grid search for regression but not found any examples on youtube.. if you can provide that would be excellent. Thanks in advance

  • @ayushmangupta6682
    @ayushmangupta6682 Год назад

    Can we use Cross Validation on Regression problems also

  • @mastermatt6090
    @mastermatt6090 5 месяцев назад

    very helpful thank you very much

  • @mahamadoutogola4001
    @mahamadoutogola4001 2 месяца назад

    You explained very well ❤

  • @kaviyapriya6329
    @kaviyapriya6329 3 месяца назад

    Well explained bro

  • @tanmaygupta8288
    @tanmaygupta8288 5 месяцев назад

    good explanation

  • @MarioSchwaiger
    @MarioSchwaiger 8 месяцев назад

    How many advertisements are in this video??

  • @Q9000-s3s
    @Q9000-s3s 2 года назад

    Thanks for the tutorial! I'm a beginner in coding, please will you tell me how you would print a report after this step on your video "print(cv_score_lr)" or at any stage if possible? I tried in this way, print(classification_report(y_test, cv_score_lr)), but it's not working?

  • @siva_reddy12_13
    @siva_reddy12_13 3 месяца назад

    Thankyou

  • @scokim
    @scokim Год назад

    This is a great tutorial showing how to implement test-train-split and cross-val. Also, a neat way to batch compare performances of the models in for-in loop. Very nice !!

  • @adriandominiquearante3197
    @adriandominiquearante3197 Год назад

    Thanks for this concise explanation. Is the ppt presentation shareable?

  • @anushka.narsima
    @anushka.narsima Год назад

    I watched a couple vids and each sent a different split into the cross_val_score so I was confused on which one was right, thank you for clearing it up!

  • @tosinomotayo2097
    @tosinomotayo2097 2 года назад

    This is a great tutorial. Simple and clear explanation. Thank you for sharing your knowledge.

  • @kartikbhange6389
    @kartikbhange6389 Год назад

    👍Very nice video.. All confusions are destroyed 😊

  • @vikashkumargupta4792
    @vikashkumargupta4792 2 года назад

    Thank you for a wonderful explanation

  • @arshad1781
    @arshad1781 2 года назад

    Thanks 👍 for sharing free knowledge 😉

  • @user-yr9sf2yr3n
    @user-yr9sf2yr3n 11 месяцев назад

    great! thank you

  • @andytiw_
    @andytiw_ Год назад

    thanxs man

  • @sergioreece6375
    @sergioreece6375 Год назад

    Thank you sir.

  • @heyrobined
    @heyrobined 2 года назад

    I have seen some codes where people use x_train and y_train instead of X and Y.
    why is that ? is it a wrong way ?
    what will happen if we use X_train and y_train?

    • @balajiabhi9039
      @balajiabhi9039 2 года назад

      here we are using k-fold cross validation which is alternative of train test split. In case of TTS we will have test data and train data which are subsets of actual dataset. In case of TTS we manually split for training and testing purspose but in case of KFCV it internally splits the datasets and finds the accuracy. I suggest you watch earlier video for better understanding @Hey Robin

  • @margothabet9938
    @margothabet9938 Год назад

    U r the best 👍

  • @balajiabhi9039
    @balajiabhi9039 2 года назад

    All these I was afraid of listening these cross validation and hyper parameter tuning concepts.but watching your tutorial on KFCV made me feel very intresting and using this concept\. and entering the Hyper paramter tuning vid. lets hope same kinda content I could get for that too. Anyhow thanks a lot siddhu for providing such a valuable and meaningful content.

  • @SathishKumar-rr1nq
    @SathishKumar-rr1nq 2 года назад

    Super ..

  • @elisahorton4833
    @elisahorton4833 8 месяцев назад

    I love the speed at which you teach and how thorough you are. Thank you for this!