GridSearchCV | Hyperparameter Tuning | Machine Learning with Scikit-Learn Python

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 65

  • @krimsonsun10
    @krimsonsun10 Рік тому +4

    DUDE!!! You are the Guru among common minds. This was the best explanation ever. Simple succinct and easily understandable for a newbie like me. I also like you give extra homework, and nuggets of knowledge related to the topic that I can look into afterwards. Now time to study the rest of your videos 👍⭐⭐⭐⭐⭐

  • @philipbutler
    @philipbutler 3 роки тому +15

    I learned about grid search for a course last semester, it was for a final project on sklearn that I waited to start 3 days before it was due, so I rushed to learn a lot of concepts that I promised myself I’d go back and understand more thoroughly (and probably will need to for upcoming courses/career). So this was an awesome refresher on this topic! Love your videos, keep up the great work!

    • @NormalizedNerd
      @NormalizedNerd  3 роки тому +1

      Thanks mate! It's always useful to revisit an old topic.

  • @shwetabhat9981
    @shwetabhat9981 2 роки тому +4

    Hope you are doing well sir . Kindly continue your video series as it greatly helps and is just amazing!! 🙂

  • @raselsheikh5800
    @raselsheikh5800 3 роки тому +1

    This is my first comment at youtube. I came here because of your video quality and realize your explanation also fanstastic. I think you are using manim. For me it's a great chanel.

    • @NormalizedNerd
      @NormalizedNerd  3 роки тому

      Welcome to my channel! I'm really glad you that liked my content :D :D
      Yes, I use manim.

  • @cvrbcheppali8214
    @cvrbcheppali8214 Рік тому

    Very nice and one of the best video on Hyperparameter Tuning

  • @yusufpradanaajisurya9176
    @yusufpradanaajisurya9176 10 місяців тому

    Thank you!! This is the best video on this subject!

  • @mikeboudhabhay6082
    @mikeboudhabhay6082 Рік тому

    thanks for your work and dedication . your vid is very useful for my final project in DS bootcamp.

  • @shoaibsh2872
    @shoaibsh2872 3 роки тому +1

    I knew about grid search, but in the end the technique you shared was new to me and it will be really helpful in the future when I'm going to use grid search, thank you for sharing. Great vid as always 😊

  • @ramblingsofadegenerate1174
    @ramblingsofadegenerate1174 8 місяців тому

    Recently found your channel very grateful

  • @ZirothTech
    @ZirothTech 2 роки тому

    Great video, thanks again!

  • @harshavardhanm9481
    @harshavardhanm9481 2 роки тому

    Nice, clean animations 👍

  • @saurabhjoshi8776
    @saurabhjoshi8776 2 роки тому

    keep up the good work..😀

  • @10955356
    @10955356 Рік тому

    amazing video my friend!

  • @humblebrag7020
    @humblebrag7020 21 день тому

    Why do we need to split it to be X_train and y_train when internally in gridsearchCV we will conduct k-fold? please help me answering this question.

  • @grumpy_techo
    @grumpy_techo Рік тому

    I have just stumbled upon you channel. you videos are well communicated. Well done. Another good video could be - how do you settle on a model that is generalised to test data.

  • @karlopoljancic
    @karlopoljancic Рік тому

    Thanks! Gonna try this out!

  • @bassamdaou2908
    @bassamdaou2908 2 роки тому +1

    Thank you. Please can you make a video explaining how we can make prediction from different regression models: regression tree, random forest, artificial neural network, SVM, Bagged CART, Generalized boosting, Extreme Gradient boosting

  • @samikshakolhe5086
    @samikshakolhe5086 2 роки тому

    Awesome Explaination! appreciate your work and subscribed;)

  • @lukehamilton8285
    @lukehamilton8285 Рік тому

    great video helped me alot!

  • @KayYesYouTuber
    @KayYesYouTuber 3 роки тому +4

    Thanks. Nice video. But why are you doing GS.fit (X_train, Y_train) when you already have cross validation with cv = 5. Shouldn't you just do GS.fit (X, Y) ?

    • @lukehamilton8285
      @lukehamilton8285 Рік тому +2

      you should train on x_train and y_train because this allows you to further test the model once the optimal hyperparameters have been found with an unseen test set which the model has not seen stopping data-leakage

  • @collinspo
    @collinspo Рік тому

    Great content. Thanks

  • @ganeshnaik6503
    @ganeshnaik6503 3 роки тому

    This is awesome. Thanks!

  • @amirhosseinrahimi3964
    @amirhosseinrahimi3964 2 роки тому

    Thanks, one queation, after tuining the model and finding the best hyper parameter, is it necessary to run the model with found best parameter for moel training right and prediction? i mean after using GridSearchCV, model is already configured by best parameter? can you please elaborate?

  • @PythonArms
    @PythonArms Рік тому

    Great video. thank you

  • @tomliao6667
    @tomliao6667 2 роки тому

    thanks for sharing especially for the last part that how to choose an efficient model with low computer resource wasting haha

  • @MessiasBatista
    @MessiasBatista 2 роки тому

    Hello, congratulations for video.
    I have a question. You have a example that discovers the best hyper-parameters using Swarm Intelligence?

  • @viniciuslazzeri3019
    @viniciuslazzeri3019 Рік тому

    Amazing! How can I implement this on fastercnns?

  • @idrissjairi
    @idrissjairi Рік тому

    thank you so much for the great video

  • @gouthamansaravanan7692
    @gouthamansaravanan7692 2 роки тому

    Best one! Thanks!!

  • @chongzhang871
    @chongzhang871 11 місяців тому

    What about the the testing data? It seems u have not used them.

  • @tinanajafpour7214
    @tinanajafpour7214 2 роки тому

    thank you for the video it was really helpful. I had a question, could you please help me? when I want to download data from kaggle, I receive 403 forbidden Error!

  • @Borschboy
    @Borschboy 3 роки тому

    How does GridSearch work with pickeld data?

  • @LeE-yr7lp
    @LeE-yr7lp 3 роки тому

    Could you do a video about boosting models please? Thanks

  • @krepker
    @krepker 3 роки тому

    Awesome video. tnx man!!

  • @excursion5246
    @excursion5246 2 роки тому

    thanks. Can you make a video about deep neural network regression predictions. Like multiple inputs and one output prediction by using this gridsearch. Thanks a lot.

  • @bzaruk
    @bzaruk 3 роки тому

    Great vid! Thanks!

  • @kolboy2028
    @kolboy2028 3 роки тому

    which software do you use for your animation?

    • @NormalizedNerd
      @NormalizedNerd  3 роки тому +2

      I used manim for intro animation

    • @kolboy2028
      @kolboy2028 3 роки тому

      @@NormalizedNerd and for the rest of the video?

  • @fosheimdet
    @fosheimdet 2 роки тому

    From now on, I identify as a person from the future😊

  • @nachomacho7027
    @nachomacho7027 2 роки тому

    Thank you bro

  • @onestopzz6446
    @onestopzz6446 2 роки тому +1

    Bro, even without hyper parameter tuning, I am getting more than 0.99 r2_score. But I am getting 0.96 r2_score with tuning. So how exactly this tuning is helpful?

    • @achin_sharma
      @achin_sharma 10 місяців тому

      it means default values are best fit for your dataset

  • @cyberpunk_edgerunners
    @cyberpunk_edgerunners 2 роки тому

    thanks , my friend

  • @jessemutiga6055
    @jessemutiga6055 2 роки тому +1

    there'll alway be a random indian out there who will help you get your assignment done on time.

    • @NormalizedNerd
      @NormalizedNerd  2 роки тому

      lol...at least you are not outsourcing your assignments!

  • @deniskoala3131
    @deniskoala3131 3 роки тому

    Thank you for this beautiful work.
    I have a question: what happens if we run the same code several times? Will the best_estimator always be the same?
    Thank you for your answer.

    • @tomliao6667
      @tomliao6667 2 роки тому

      if you keep random_state the same number, I guess there will be the same best_estimator

  • @Junistz
    @Junistz 2 роки тому

    Thanks for your video it is going to help me ! :D
    Invalid parameter "max_depth " contains whitespace.
    I got error kind of this ..

  • @jamalnuman
    @jamalnuman Рік тому

    great

  • @anurajms
    @anurajms Рік тому

    ty

  • @antonellars22
    @antonellars22 2 роки тому

    Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @736939
    @736939 2 роки тому

    Where are you? We miss you :(

  • @parulkhattar28
    @parulkhattar28 2 роки тому

    1:53 -> 2D arrays not lists 😀

  • @rijwanapatel6942
    @rijwanapatel6942 3 роки тому

    Hey buddy how old are your 😁

  • @ikramed
    @ikramed 6 місяців тому

    Random state why = 2021

  • @im4485
    @im4485 Рік тому

    Nice