Precision, Recall, F1 score, True Positive|Deep Learning Tutorial 19 (Tensorflow2.0, Keras & Python)

In this video we will go over following concepts,
What is true positive, false positive, true negative, false negative
What is precision and recall
What is F1 score
We will also write simple code to compare dog vs non dog labels and print all above measures on them
#Whatistruepositive #falsepositive #truenegative #falsenegative #precisionandrecall #F1score #deeplearning
Code: github.com/codebasics/deep-le...
Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
Next video: • Dropout Regularization...
Previous video: • Customer churn predict...
Deep learning playlist: • Deep Learning With Ten...
Machine learning playlist : • Machine Learning Tutor...
🌎 My Website For Video Courses: codebasics.io/?...
Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
#️⃣ Social Media #️⃣
🔗 Discord: / discord
📸 Dhaval's Personal Instagram: / dhavalsays
📸 Codebasics Instagram: / codebasicshub
🔊 Facebook: / codebasicshub
📱 Twitter: / codebasicshub
📝 Linkedin (Personal): / dhavalsays
📝 Linkedin (Codebasics): / codebasics
🔗 Patreon: www.patreon.com/codebasics?fa...
DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.

Пікірлер: 239

  • @codebasics
    @codebasics2 жыл бұрын

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

  • @rahulranjan8682
    @rahulranjan86825 ай бұрын

    I have 4 years of experience in data domain and whenever I go for interview I come to this video to revise this concept. This is actually the best video on KZread available for this topic.

  • @aravinthmegnath3569
    @aravinthmegnath3569 Жыл бұрын

    Honestly this is the best explanation I have ever seen. I have been studying ML for the past 3 months and have gone through many tutorials. This video straight away cleared my confusions about the confusion matrix. Thank You so much Dev !

  • @harperjmusic
    @harperjmusic3 жыл бұрын

    This is the best explanation on performance metrics that I've found so far.

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad you liked it John

  • @longTomm
    @longTomm6 ай бұрын

    Finally. An explanation of precision and recall that makes sense! Great stuff

  • @muhammadwaheedkhan5244
    @muhammadwaheedkhan52442 жыл бұрын

    Nice explained. A suggestion -> also discuss the *WHENs* of each concept you explain. Like, when we use Precisio, Recall, and F1-Score. By the way, great work.

  • @tanvirhasanmonir1627
    @tanvirhasanmonir1627 Жыл бұрын

    Amazing explanation as always. Thanks a lot for consistently providing quality content.

  • @SeekingTruth0007
    @SeekingTruth00072 жыл бұрын

    Simple and straightforward explanation, Thank you very much, sir. My only suggestion is to put two or more topics in a slide and discuss them together, such as when relating the confusion matrix concept to precision and recall.

  • @TheMarComplex
    @TheMarComplex2 жыл бұрын

    Thank you so much! You are the best teacher ever!

  • @JapiSandhu
    @JapiSandhu Жыл бұрын

    This is the most intuitive video on this topic. Thanks.

  • @kishlayamourya3141
    @kishlayamourya31412 жыл бұрын

    Thanks a lot!!! Only video that clearly explained precison and recall of BOTH the classes. I really gets confused after observing the results of sklearn classification report as mostly I was explained that positives are important den go for precision and if neg imp go for recall ...also tried to understand by formula but no use. Finally its clear. Thanks again.

  • @uchennanwosu5327
    @uchennanwosu53272 жыл бұрын

    Excellent exposition! I have seen some of your other videos in business statistics and they were equally accessible.

  • @mischievousmaster
    @mischievousmaster3 жыл бұрын

    This was some seriously brilliant explanation. Takes patience and passsion. Thank you.

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @bhaskargg6018
    @bhaskargg60182 жыл бұрын

    Your explanation is so clear and the complex confusion matrix concept is Clearly understood, Thank you

  • @Spielerandom
    @Spielerandom6 ай бұрын

    Thank you so much! 🙌🏻Very well explained. From Germany.

  • @zurraiinrazali5369
    @zurraiinrazali53692 жыл бұрын

    Yup, finally found the best explanation on classification report.. + easy to understanddd

  • @classicemmaeasy2292
    @classicemmaeasy22926 ай бұрын

    You are a real gem for this well detailed explanation

  • @jyotigautam992
    @jyotigautam99211 ай бұрын

    This is the best explanation anyone could ask for! 😊

  • @phuonglethithanh8498
    @phuonglethithanh8498 Жыл бұрын

    Thank you for the explanation on precision and recall. Very easy to understand ❤

  • @bigknp6211
    @bigknp6211 Жыл бұрын

    Thank you for such a great tutorial video. As you said on earlier on start video of your deep learning video series, concept are explained in very simple approach. It remind me the quote by A.E where he said "If you cannot explain in simple way , it means you didn't understood"

  • @vanisameerayerramilli5049
    @vanisameerayerramilli50492 жыл бұрын

    Brilliant Explanation!! Thanks a lot :)

  • @sjelallen
    @sjelallen2 жыл бұрын

    Great explanation! Very helpful!

  • @vivekverma9908
    @vivekverma9908 Жыл бұрын

    This is the way to explain all these measures. Nice video

  • @sanahnahk7312
    @sanahnahk73122 жыл бұрын

    Thank you very much for making it simple.

  • @chetanguduru
    @chetanguduru2 жыл бұрын

    Great expaination. Thanks for this!

  • @nikhilkshaji5165
    @nikhilkshaji5165 Жыл бұрын

    Thank for helping to understand these concepts.🥰❤

  • @gauravpathak560
    @gauravpathak5603 жыл бұрын

    Thanku sir It's help me to understand the behind the scene related to f1_score,precision and recall. Thanku so much again...

  • @leilaamini405
    @leilaamini4052 жыл бұрын

    awesome. thanks a lot, you are very professional and teach very clear thank you

  • @lllcdert826
    @lllcdert8262 жыл бұрын

    thank you very much the only video i managed to figure out the metrics

  • @rndtest8691
    @rndtest86912 жыл бұрын

    Awesome explanation ..... These are ever confusing topics .... Which are made so simple in this tutorial...

  • @ManikandanRaju
    @ManikandanRaju Жыл бұрын

    Beautifully explained. Thank you so much sir

  • @ahmedadnanaziz2005
    @ahmedadnanaziz200511 ай бұрын

    It is one of the best content ever seen 👏

  • @bluesky5166
    @bluesky51662 жыл бұрын

    Good explanation about precision and recall.

  • @MrAconfee
    @MrAconfee Жыл бұрын

    Thank you! Great explanation.

  • @shashwattiwari9666
    @shashwattiwari96663 жыл бұрын

    mast kaam krta h codebasics bhai tum

  • @artmispotter3571
    @artmispotter35715 ай бұрын

    right to the point, thanks!

  • @meysamjavadzadeh
    @meysamjavadzadeh7 ай бұрын

    best confusion matrix explanation video . thanks👍

  • @uwebosch9460
    @uwebosch9460 Жыл бұрын

    I loved it. Thank you

  • @meriemkh4382
    @meriemkh43826 ай бұрын

    I swear this guy's the best

  • @azamshakori6926
    @azamshakori6926 Жыл бұрын

    It was amazing, Thank u so much

  • @pankajyadav-en9cw
    @pankajyadav-en9cw3 жыл бұрын

    The way you have explained these topics is fav bez I didn't get so clarity about these topic thank you explaining it means a lot 🙂

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad you liked it pankaj

  • @rishavbhattacharjee7182
    @rishavbhattacharjee71823 жыл бұрын

    Brilliant Deep Learning Series sir😍

  • @devarapallivamsi7064
    @devarapallivamsi70645 ай бұрын

    Excellent explanation, would have been complete if you have also explained why we need F1 score along when we have precision and recall in place. Thank you for the concise and to the point illustration.

  • @adamtki
    @adamtki10 ай бұрын

    Excellent video!

  • @HabiburRahamaniit
    @HabiburRahamaniit2 жыл бұрын

    Super Excellent explanation, Dhaval, Sir.

  • @Susa270
    @Susa2702 жыл бұрын

    I am so Thankful to you. Crisp and Clear. 🙏 🙂

  • @codebasics

    @codebasics

    2 жыл бұрын

    You are so welcome

  • @adityawanjari5128
    @adityawanjari51282 жыл бұрын

    Thank you for such wonderful explanation

  • @sandiproy330
    @sandiproy330 Жыл бұрын

    Wonderful explanation. Very easy to understand. Nice clear step-by-step approach. Thanks for providing a such nice tutorial. thank you.

  • @codebasics

    @codebasics

    Жыл бұрын

    Glad it was helpful!

  • @MahibulHasanmahibul-hasan
    @MahibulHasanmahibul-hasan11 ай бұрын

    Very good explanation!

  • @kekkettoful
    @kekkettoful3 жыл бұрын

    Hello great video, apply the following classifiers: KNN, K-Me, Bayes, Binary Neural Networks and make a comparison between the results with the various techniques (through precision, recall, loss), also showing the confusion matrices, so as to report with which technique I get the best results. can you give me some advice please? Dataset is the 20 newsgroup text

  • @anuradhabalasubramanian9845
    @anuradhabalasubramanian98452 жыл бұрын

    Wonderful explanation Sir !

  • @Lena-of7wd
    @Lena-of7wd3 жыл бұрын

    You've explained this so clearly, thank you!!

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @ayoolafakoya9841
    @ayoolafakoya98413 жыл бұрын

    You are an awesome teacher

  • @ilmu011
    @ilmu0113 жыл бұрын

    One more question, in this example what would the "mean" average precision (mAP) be? And what's the difference between mAP and macro avg and micro avg

  • @abdelhafiddahhani2514
    @abdelhafiddahhani2514 Жыл бұрын

    Great explanation 😄

  • @abdullahficici4298
    @abdullahficici42983 жыл бұрын

    Crystal clear explanation. Thank you

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @abdelatifhafid7934
    @abdelatifhafid79342 жыл бұрын

    Thank you so much!

  • @jassmalik4594
    @jassmalik4594 Жыл бұрын

    Honestly it helped me a lot 🐱

  • @mriduldongsare1555
    @mriduldongsare15553 ай бұрын

    Very well explained

  • @abhishekranjan2617
    @abhishekranjan26173 жыл бұрын

    you are a true genious sir.... Your way of teaching and explanation is awesome sir.. I love this video😎😎😘😘☺☺👌👌❤❤🥰🥰😍😍🙏🙏🙏🙏🙏🙏

  • @karlkfoury2213

    @karlkfoury2213

    3 жыл бұрын

    why genius lol

  • @gayathrisarangika2512
    @gayathrisarangika25122 жыл бұрын

    Thankyou very much it is very clear explanation ❤❤

  • @shibbirahmed7929
    @shibbirahmed79293 жыл бұрын

    Can you plz tell me how I can plot ROC curve for multilabel classification (5 labels of data) to compare various ML models accuracy?

  • @nnennaumelloh8834
    @nnennaumelloh88343 жыл бұрын

    This is awesome! Thank you!

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @yepnah3514
    @yepnah35143 жыл бұрын

    im a bit confused on how to set up the truth and prediction folder. the prediction folder contains the images we feed after the model has been trained right? but what about the truth folder?

  • @HotshotArafath
    @HotshotArafath2 жыл бұрын

    Sir can we apply this metrics in to the potato leaf disease detection project? And should we apply them before or after building the cnn model?

  • @faezeabdolinejad731
    @faezeabdolinejad7312 жыл бұрын

    its so good, thanks

  • @SMHasan9
    @SMHasan9 Жыл бұрын

    Great video

  • @musaboukar112
    @musaboukar1122 жыл бұрын

    well done!

  • @PythonisLove
    @PythonisLove3 жыл бұрын

    Thanks this video helped a lot

  • @adityasharma2667
    @adityasharma26673 жыл бұрын

    Wondering who are these people who unlike this video!! Very Well explained!!! Thank you

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @taufiqulhaque4987
    @taufiqulhaque49873 жыл бұрын

    Each important evaluation metric in a nutshell... Thanks a lot

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @mujamilkhan714
    @mujamilkhan7143 жыл бұрын

    Extremely waiting series🙌🏻

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @utn2609
    @utn26093 жыл бұрын

    Thanks so much! Well explained!

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @user-nj6os9to9l
    @user-nj6os9to9l3 ай бұрын

    This is nice session 👍

  • @babaabba9348
    @babaabba93483 жыл бұрын

    good stuff man

  • @fahadreda3060
    @fahadreda30603 жыл бұрын

    Thanks for the video

  • @developerboy8341
    @developerboy83413 жыл бұрын

    Absolutely great presentation.

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @dmarcolinok
    @dmarcolinok3 жыл бұрын

    Great video!!!! Thank you!

  • @codebasics

    @codebasics

    3 жыл бұрын

    I am glad this was helpful

  • @leamon9024
    @leamon90243 жыл бұрын

    Always thanks for your effort and hard work.

  • @codebasics

    @codebasics

    3 жыл бұрын

    My pleasure!

  • @TechFromDan
    @TechFromDan5 ай бұрын

    thanks so much man

  • @kalimuthudurairaj9191
    @kalimuthudurairaj91913 жыл бұрын

    Good content... Nicely explained... Thank you...

  • @codebasics

    @codebasics

    3 жыл бұрын

    I am happy this was helpful to you.

  • @mechanicalbaba2484
    @mechanicalbaba24843 жыл бұрын

    Superb!

  • @sukanthenss914
    @sukanthenss9143 жыл бұрын

    Nice sir.Thanks for sharing

  • @aruneshprasad3064
    @aruneshprasad30643 жыл бұрын

    Could u tell me sir if any of the videos other than the GPU Benchmarking require cudannn and CUDA installation?

  • @chinnumaria9145
    @chinnumaria91452 жыл бұрын

    Thank you so much

  • @tarunbhatia8652
    @tarunbhatia86522 жыл бұрын

    Thanks!

  • @avani5381
    @avani5381 Жыл бұрын

    Wonderful explanation sir, kindly do some example in R language, that was so helpful for our work sir. Your way of explaination is extraordinary sir, support us with R language also . Once again Thank you for the picture example for our understanding.

  • @ankitac4994
    @ankitac49943 жыл бұрын

    Subscribed. Explained well!!

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @shadiyapp5552
    @shadiyapp5552 Жыл бұрын

    Thank you sir ♥️

  • @debatradas9268
    @debatradas92682 жыл бұрын

    thank you so much

  • @chetangondaliya
    @chetangondaliya2 жыл бұрын

    Thank you sir.

  • @akashdeepsinghrana5379
    @akashdeepsinghrana53792 жыл бұрын

    Sir urgent question I want to make my 'target' count same for 0 and 1 for whole DataFrame. With sequence 0,1,0,1 ..... Please reply

  • @harshwardhanchougule3039
    @harshwardhanchougule3039 Жыл бұрын

    very well explained!!!!

  • @PSTWFB

    @PSTWFB

    Жыл бұрын

    Artificial Intelligence, Machine Learning, Deep Learning, Supervised, Unsupervised kzread.infowYHXPNTTVBE?feature=share

  • @akbarboghani1
    @akbarboghani12 жыл бұрын

    Good explanation. How accuracy and precision are used in the real-world scenario? Can you share some references for the same

  • @kunchammadhukumar4820
    @kunchammadhukumar4820 Жыл бұрын

    damn...! your explanation 🔥🔥🔥

  • @ayushgupta8538
    @ayushgupta853811 ай бұрын

    Thank you

  • @ramyaabin5548
    @ramyaabin55482 жыл бұрын

    Sir you are Awesome. pls join as Amrita School of Computer Science Engineering we need lecturers like you.

  • @kunalsinha962
    @kunalsinha9623 жыл бұрын

    Best Explanation. Thankyou Sir

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @vivektomar4208
    @vivektomar4208 Жыл бұрын

    Thank you sir

  • @waedkhwies5550
    @waedkhwies5550 Жыл бұрын

    May I ask a question please? What are the required specifications for a deep learning training server? Thank you