Machine Learning: Testing and Error Metrics

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • Announcement: New Book by Luis Serrano! Grokking Machine Learning. bit.ly/grokkingML
    40% discount code: serranoyt
    A friendly journey into the process of evaluating and improving machine learning models.
    - Training, Testing
    - Evaluation Metrics: Accuracy, Precision, Recall, F1 Score
    - Types of Errors: Overfitting and Underfitting
    - Cross Validation and K-fold Cross Validation
    - Model Evaluation Graphs
    - Grid Search
    For a code implementation, check out this repo:
    github.com/luisguiserrano/man...
    0:00 Introduction
    0:37 Which model is better
    1:31 Why Testing?
    3:27 Golden Rule # 1
    4:21 How do we not 'lose' the training data?
    4:38 K-Fold Cross Validation
    5:20 Randomizing in Cross Validation
    5:38 Evaluation Metrics
    7:53 Medical Model
    8:05 Spam Classifier Model
    9:25 Confusion Matrix Diagnosis
    11:50 Accuracy
    19:47 Precision and Recall
    20:54 Credit Card Fraud
    22:36 Harmonic mean
    24:08 F1 Score
    27:16 Types of Errors
    27:56 Classification
    30:03 Error due to variance (overfitting)
    30:18 Error due to bias (underfitting)
    31:45 Tradeoff
    37:55 Solution: Cross Validation Testing
    39:16 Training a Logistic Regression Model
    40:04 Training a Decision Tree
    40:49 Training a Support Vector Machine
    41:14 Grid Search Cross Validation
    41:59 Parameters and Hyperparameters
    42:56 How to solve a problem
    43:20 How to use machine learning
    44:04 Thank you!
  • Věda a technologie

Komentáře • 160

  • @victorrabvukwa79
    @victorrabvukwa79 Před 4 lety +12

    Your online tutorials are really great. You demonstrate intimate understanding of the subject and deliver it so so well. It's just left for me to take it in. Congratulations on this series. Immense help to students.

  • @waseemanwar3327
    @waseemanwar3327 Před 6 lety +5

    Thanks Luis. This is the simplest and best ever tutorial in ML I have come across.

  • @robertknight9242
    @robertknight9242 Před 7 lety +3

    Incredible video! I always find remembering evaluation metrics difficult but this is a really great way to get my head around it in a memorable way! Will definitely be watching all the videos you put out - thanks in advance.

  • @abdulqureshi208
    @abdulqureshi208 Před 7 lety +7

    Your Videos are one of the best on the web, please keep it coming.. Thanks

  • @mshans66
    @mshans66 Před 3 lety +1

    Awesome! What a way to simplify the complex concepts! You validated once again that you are awesome and the hyperparameter used is your pedagogic style!

  • @andyn6053
    @andyn6053 Před 10 měsíci +1

    Your videos are without any doubt the most easy to follow and easy to understand out there! Thanks for explaning things in a simple way so it finally makes sense!

  • @shaiknazeeruddin2901
    @shaiknazeeruddin2901 Před 7 lety +1

    Love the way you teach and make complex things so simple. Thanks a lot Luis. Hoping to see more videos such.

  • @vmbijli
    @vmbijli Před 2 lety +1

    One of the best explanations on ML. Amazing clarity of thought. You have a super visual mind and thank you Luis for sharing what you see with us. Ever grateful 🙏

  • @firehawk97
    @firehawk97 Před 4 lety

    This just answered so many questions I had about ML accuracy scoring and HOW the background code in R-Studio (many built-in functions) are actually calculating accuracy percentages. Thank you for this video

  • @donsweboshui8099
    @donsweboshui8099 Před 4 lety

    Awesome Luis, it is the simplest and easiest tutorial for ML I have ever see from CZcams, thanks again. Keep it up.

  • @nikhilbharadwaj8972
    @nikhilbharadwaj8972 Před 5 lety

    Brilliant explanation. Thanks for taking the time to make the video.!!

  • @WeiranYe
    @WeiranYe Před 7 lety +29

    Thanks Luis! This is the most concise introduction to those terminologies one could find on the web! Great job. You saved me tons of time! Thanks a lot!

    • @SerranoAcademy
      @SerranoAcademy  Před 7 lety +3

      Thank you, Weiran, glad you liked it!

    • @prempant6428
      @prempant6428 Před 3 lety

      @@SerranoAcademy Hey, could you please explain the difference between in-sample risk and training error? And how we can measure the in sample risk thus, we can compute the optimism of the dataset?

  • @franciscovinueza5320
    @franciscovinueza5320 Před 6 lety +1

    You are the best. You explain better than my Machine Learning Lecturer. The use of images, colors and explanation are 10/10.

  • @nikhildethe2973
    @nikhildethe2973 Před 5 lety +1

    Hey Luis, I saw your ML videos, and they are awsome. I understood the core and core of it. wow...
    Thanks maaaan...

  • @AlvinRyellPrada
    @AlvinRyellPrada Před rokem

    Thank you for pointing me here. Done watching the entire video and despite that English is not my primary language, I am hooked and fascinated how you make the explanation exciting!
    The visuals and your story telling is absolutely superb as well! Your channel is a God send!

  • @MyJackzhang
    @MyJackzhang Před 7 lety +4

    Thanks for the great video. I really enjoyed all the videos you posted on ML. Hope more to come.

    • @SerranoAcademy
      @SerranoAcademy  Před 7 lety +1

      Thank you Chaoli! Just added a CNN video, check it out!

  • @pcarlisle5688
    @pcarlisle5688 Před 4 lety

    This is so easy to understand. Just the best tutorial ive seen for this topic!

  • @MV-qm7rs
    @MV-qm7rs Před 7 lety

    Awesome bite-sized videos Luis, really intuitive to understand! Great job!

  • @randyluong6275
    @randyluong6275 Před rokem

    concise, vivid. one of the greatest tutorials I have come across.

  • @zirakqader3664
    @zirakqader3664 Před 7 lety

    I would thank you first. The way that you are simplifying and giving examples is really great. Well done :)

  • @houyao2147
    @houyao2147 Před 4 lety

    I like the discussion of recall/precision. I was always confused by how to get an intuitive explanation of recall and precsion, now it's clear.

  • @biswasstar
    @biswasstar Před 6 lety

    Very helpful. Great Explanation!!!!! Thanks a lot :)
    Would love to have more videos giving clarity of statistics concepts used for machine learning .

  • @syedali9198
    @syedali9198 Před 7 lety

    Haven't watched the video, but I am pretty sure it would be amazing. You are doing amazing service to so many people. Thanks.

  • @anindyachaudhuri9880
    @anindyachaudhuri9880 Před 2 lety

    This is extremely good, nicely made and presented. Thanks a lot.

  • @alonsodiaz287
    @alonsodiaz287 Před 5 lety +2

    Luis ! Great Course ! best one out there . I will recommend the IBM QMS Quality Engineers to view this video! thanks !

  • @ErikFKL
    @ErikFKL Před 6 lety

    Thank you Luis! Really appreciate your works.

  • @randunik77
    @randunik77 Před 7 lety +2

    I enjoyed all the videos you posted on ML. Great videos. They make me better understand a lot of concepts and terms that I head/read in my efforts to learn how AI works. What I would realy like to see and understand now, is how these concepts are translated into code (tenser flow or some other framework). Thank you for your videos.

  • @aminarahman2429
    @aminarahman2429 Před 7 lety

    Your videos are awesome. That's my 3rd watched video today, made by you. This is really awesome since it clears the basics in an interesting and simple way. I wish I had watched it earlier. That'd have helped me in my previous vivas. :P

  • @timb8140
    @timb8140 Před 6 lety

    One of the best explications, please keep it up. Subscribed :)

  • @jakovbazsanov1725
    @jakovbazsanov1725 Před 6 lety

    Awesome ML training! Thank you, Luis!

  • @ruudhermans4243
    @ruudhermans4243 Před 4 lety

    Great video! Going to check out the rest of them.

  • @virtualtinker2303
    @virtualtinker2303 Před 4 lety

    Video should get way more likes and views, very detailed but in a simplfied way. Thanks a lot for the great info!

  • @cahitdemir2756
    @cahitdemir2756 Před 5 lety

    Thanks a lot, you made very easy to understand metrics

  • @blesucation4417
    @blesucation4417 Před 8 měsíci

    Just want to leave a comment so that more people could learn from your amazing videos! Many thanks for the wonderful and fun creation!!!

  • @carvaka100
    @carvaka100 Před 4 lety

    Thanks Luis, A very well presented explanation.

  • @pavleenkaur6903
    @pavleenkaur6903 Před 7 lety

    Thanks Luis for this detailed explanation! Request you to upload videos on some other expansive metrics too such as AUC, ROC etc.

  • @avinashtandle1489
    @avinashtandle1489 Před 7 lety

    Thanks Luis for making, model evaluation attributes simpler

  • @sebascol
    @sebascol Před 3 lety

    Great video, great explanation!!
    Thanks Luis!!

  • @2parinda
    @2parinda Před 3 lety

    Best explanations I have ever seen regarding ML. Thanks a lot for Your effort

  • @vamsikrishna1131
    @vamsikrishna1131 Před 2 měsíci

    Awesome examples & explanation. TY

  • @relevelschool
    @relevelschool Před 6 lety

    Thanks for sharing this wonderful tutorial.

  • @kevinha3192
    @kevinha3192 Před 7 lety

    Thanks man !!!! This is so very helpful !!!!

  • @adityaverma3095
    @adityaverma3095 Před 7 lety

    Thanks Luis! This very well summarize the model selection in a very concise manner. Can you please do a video on various metrics to assess a machine learning models, like lift chart, ROC curve, confusion matrix etc. all combined and their use in different cases?

  • @savvasemexides6557
    @savvasemexides6557 Před 6 lety

    Very helpful video, thank you very much!

  • @saurabhiim
    @saurabhiim Před 7 lety +1

    Hi Luis , Many thanks for these interactive videos & very nice explanation of the complex topics on data science ...You are very clear about the fundas of the subject ...I request you to kindly help us with Random Forest techniques & SVM . Thanks in advance

  • @jenniferaduwo6635
    @jenniferaduwo6635 Před 5 lety

    Wooh great and detailed explanation thank you, it is easy to follow, I would love to know your thoughts on when to use AUC metrics for model testing

  • @uchennaudeh9816
    @uchennaudeh9816 Před 2 lety +1

    Thanks Luis. Exceptional delivery. You really have an innate understanding of these concepts and algorithms. Thanks a lot

  • @seyedmansourbeigi9126
    @seyedmansourbeigi9126 Před 6 lety

    Luis great another masterpiece "Machine Learning: Testing and Error Metrics" thanks

  • @celismaroliveira6081
    @celismaroliveira6081 Před 2 měsíci

    Thank you so much! Another amazing tutorial!!!

  • @charlottep.4843
    @charlottep.4843 Před 5 lety

    Amazing video series!!

  • @charlainebrowne8715
    @charlainebrowne8715 Před 5 lety

    great series made easy to comprehend thank you

  • @JCRMatos
    @JCRMatos Před 7 lety

    Awesome explanation. Congrats.

  • @soajack
    @soajack Před 5 lety

    Great lecture Luis ! Thanks !!!

  • @matjazonline
    @matjazonline Před 7 lety

    Thanks, great explanation!

  • @trinadhsingaladevi8918
    @trinadhsingaladevi8918 Před 5 lety +4

    Hello Luis, First of all your videos are great. Thanks a lot.
    In the video, the precision for credit card fraud detection is 0/0 right? how come it is 100%? Am I missing something here?

  • @victorrodas4357
    @victorrodas4357 Před 4 lety

    Muchas Gracias, Luis!

  • @gitadanesh7496
    @gitadanesh7496 Před 4 lety

    Thank you very much for the easy and amazing explanation

  • @watchsatsang
    @watchsatsang Před 7 lety

    I am very much thankful to you for so nice videos.

  • @Language-xy6ym
    @Language-xy6ym Před 6 lety

    Thanks Lusis. Really helpful!

  • @IqweoR
    @IqweoR Před 7 lety

    Thank you very much. Very informative. Going to try udacity courses now!

  • @khaldoonalhussayni1853
    @khaldoonalhussayni1853 Před 7 lety +1

    great job, it is so useful and simple thanks so much, but how can I find parameters and hyperparameters for other algorithms such as Naïve bays and K-nn

  • @georginaarno9880
    @georginaarno9880 Před 2 lety

    Thank you Luis! You and the material you use are really good for teaching. They increase my interest! I alteady bought your book "Grokking Machine Learning" in digital version. Can't wait to read it and work with it!

    • @SerranoAcademy
      @SerranoAcademy  Před 2 lety

      Thank you so much Georgina! I hope you enjoy it! :)

  • @92hinga
    @92hinga Před 2 lety

    Thank you Luis. Well explained

  • @Adnan25048
    @Adnan25048 Před 4 lety

    Great video. Great explanation.

  • @marcerodriguez7553
    @marcerodriguez7553 Před 4 lety

    Gracias Luis ; excelente trabajo . Salu2 desde Argentina .

  • @gkprasad100
    @gkprasad100 Před 4 lety

    Awesome explanation !

  • @timetraveller7513
    @timetraveller7513 Před 3 lety

    Thank you so much Luis, grt session 👍🏻

  • @juanmateu19
    @juanmateu19 Před rokem

    Increíble Luís, no hay nada similar ni en udemy ni en youtube. Felicidades por conseguir se tan eficaz a la hora de transmitir tus conocimientos y mil gracias por brindarnos este contenido. Te deseo muchos éxitos!

    • @SerranoAcademy
      @SerranoAcademy  Před rokem

      Muchas gracias Juan! Que lindo mensaje, me alegra que te guste el contenido. Abrazo!

  • @alainiliho1019
    @alainiliho1019 Před 2 lety

    I have really appreciated this video. It helped me understanding I was facing overfitting in my project. Would you mind doing another video about regression problems? Thank you so much in advance.

  • @deboralott8969
    @deboralott8969 Před 6 lety

    really good! Thanks!

  • @mahimachandane9067
    @mahimachandane9067 Před 3 lety

    Great explanation 🙏

  • @siripinyochantamunee9608

    Thanks for the great tutorial

  • @GarveRagnara
    @GarveRagnara Před 5 lety

    So awesome, thank you very much!

  • @sunday8983
    @sunday8983 Před 9 měsíci

    This is brilliant! Thank you!!

  • @balajee41
    @balajee41 Před 5 lety

    Wow..I don't think there is a better explanation than this

  • @deenuy
    @deenuy Před 2 lety

    Wow! Brilliant session

  • @MyStudyIsFun
    @MyStudyIsFun Před 7 lety

    Awesome intro on ML model evaluation

  • @elgs1980
    @elgs1980 Před 7 lety

    Nobody else explained things as clearly as you did.

  • @ashjanalsulaimani4537
    @ashjanalsulaimani4537 Před 4 lety

    Great explanation, Thanks

  • @eusebiusballentine3187

    Great stuff Luis.

  • @nikhil8124
    @nikhil8124 Před 5 lety

    Nice summary video

  • @milindkamat0507
    @milindkamat0507 Před 5 lety

    Great explanation keep it up

  • @holgeriwersen5367
    @holgeriwersen5367 Před 7 lety

    Very good and helpful. Easy to understand in the beginning
    , at the end a little bit too fast about too much new things
    .

  • @thisismrsanjay
    @thisismrsanjay Před rokem

    so clean explanation

  • @AnaCristina-qe8hx
    @AnaCristina-qe8hx Před 4 lety

    Muy buen trabajo, mas videos en español por favor. GRacias :)

  • @malaykrushnagiri9797
    @malaykrushnagiri9797 Před 6 lety

    Well Explained.

  • @bla-ig4bd
    @bla-ig4bd Před 10 měsíci +1

    Love the three golden rules. Rule #4: don't forget the first three

  • @rutikkatkamwar4329
    @rutikkatkamwar4329 Před 3 lety

    thanks Luis !

  • @truliapro7112
    @truliapro7112 Před 7 lety

    You are awesome Luis.

  • @PS-kn5lr
    @PS-kn5lr Před 4 lety

    This is amazing!!! Thank you sir...I am trying to learn ML since a long time...after so many complicated tutorials I lost interest in ML and went in web development . Now I found this tutorial and could grasp all those complicated terms with ease. I went to your Udacity ML nano degree course link but its expensive :(

    • @SerranoAcademy
      @SerranoAcademy  Před 4 lety

      Hi Parigha! Thank you for your kind message. Check out this free deep course that I teach with other people Udacity: www.udacity.com/course/deep-learning-pytorch--ud188

  • @romeshdoshi3161
    @romeshdoshi3161 Před 3 lety

    Very easily explained

  • @praveenchristopher7776

    very nice , thanks a ton

  • @AnitShrestha
    @AnitShrestha Před 5 lety

    Thank you!

  • @maipyaar
    @maipyaar Před 2 lety

    Very useful video

  • @papayawowusu-obeng2250

    Thanks a lot!

  • @sibusisokhanyile8181
    @sibusisokhanyile8181 Před 4 lety

    Luis you are the best man!!!!

  • @pallawirajendra
    @pallawirajendra Před 6 lety

    Brilliant sir.

  • @lim-chanconnie1244
    @lim-chanconnie1244 Před 7 lety

    Thanks, it is better if you can help to teach us on codes as well for some real Tensorflow and Keras example for image recognition. I like your style. Very clear as I had some basics but yours clarify my basics to better level.

  • @ujjwal170888
    @ujjwal170888 Před 6 lety

    Really helpful

  • @TheDjomed
    @TheDjomed Před 7 lety

    Hello Luis, Thanks for the presentation, can you provide us with the slides in pdf if possible ?