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

  Рет қаралды 263,857

codebasics

codebasics

Күн бұрын

Пікірлер: 246
@codebasics
@codebasics 2 жыл бұрын
Check our Deep Learning Course (in PyTorch) with Latest, Industry Relevant Content: tinyurl.com/4p9vmmds Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced
@rahulranjan8682
@rahulranjan8682 10 ай бұрын
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 KZbin available for this topic.
@harperjmusic
@harperjmusic 3 жыл бұрын
This is the best explanation on performance metrics that I've found so far.
@codebasics
@codebasics 3 жыл бұрын
Glad you liked it John
@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 !
@longTomm
@longTomm 11 ай бұрын
Finally. An explanation of precision and recall that makes sense! Great stuff
@mischievousmaster
@mischievousmaster 4 жыл бұрын
This was some seriously brilliant explanation. Takes patience and passsion. Thank you.
@codebasics
@codebasics 4 жыл бұрын
Glad it was helpful!
@kishlayamourya3141
@kishlayamourya3141 2 жыл бұрын
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.
@SeekingTruth0007
@SeekingTruth0007 2 жыл бұрын
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.
@rndtest8691
@rndtest8691 2 жыл бұрын
Awesome explanation ..... These are ever confusing topics .... Which are made so simple in this tutorial...
@classicemmaeasy2292
@classicemmaeasy2292 11 ай бұрын
You are a real gem for this well detailed explanation
@bhaskargg6018
@bhaskargg6018 2 жыл бұрын
Your explanation is so clear and the complex confusion matrix concept is Clearly understood, Thank you
@Spielerandom
@Spielerandom 11 ай бұрын
Thank you so much! 🙌🏻Very well explained. From Germany.
@meriemkh4382
@meriemkh4382 10 ай бұрын
I swear this guy's the best
@muhammadwaheedkhan5244
@muhammadwaheedkhan5244 2 жыл бұрын
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.
@gopiruby
@gopiruby 13 күн бұрын
Mind blowing explanation bro. Superrrrb.. you nailed the concept. Thank you so much
@JapiSandhu
@JapiSandhu 2 жыл бұрын
This is the most intuitive video on this topic. Thanks.
@jyotigautam992
@jyotigautam992 Жыл бұрын
This is the best explanation anyone could ask for! 😊
@ahmedadnanaziz2005
@ahmedadnanaziz2005 Жыл бұрын
It is one of the best content ever seen 👏
@bluesky5166
@bluesky5166 2 жыл бұрын
Good explanation about precision and recall.
@vivekverma9908
@vivekverma9908 Жыл бұрын
This is the way to explain all these measures. Nice video
@greatfeedbackguy
@greatfeedbackguy Жыл бұрын
Very well explained with precision, hence really easy to recall!
@codebasics
@codebasics Жыл бұрын
😀😀👍🏼
@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!
@adityasharma2667
@adityasharma2667 3 жыл бұрын
Wondering who are these people who unlike this video!! Very Well explained!!! Thank you
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@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"
@zurraiinrazali5369
@zurraiinrazali5369 2 жыл бұрын
Yup, finally found the best explanation on classification report.. + easy to understanddd
@abhishekranjan2617
@abhishekranjan2617 3 жыл бұрын
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
@mathymessy2193
@mathymessy2193 Ай бұрын
Thank you am 😊 happy and submitting my assignment and presenting at work tomorrow
@devarapallivamsi7064
@devarapallivamsi7064 9 ай бұрын
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.
@abdullahficici4298
@abdullahficici4298 3 жыл бұрын
Crystal clear explanation. Thank you
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@jassmalik4594
@jassmalik4594 Жыл бұрын
Honestly it helped me a lot 🐱
@meysamjavadzadeh
@meysamjavadzadeh Жыл бұрын
best confusion matrix explanation video . thanks👍
@dexterdev
@dexterdev 4 ай бұрын
0:47 2:29 3:23 3:56 4:51 5:38 5:57
@phuonglethithanh8498
@phuonglethithanh8498 Жыл бұрын
Thank you for the explanation on precision and recall. Very easy to understand ❤
@tanvirhasanmonir1627
@tanvirhasanmonir1627 Жыл бұрын
Amazing explanation as always. Thanks a lot for consistently providing quality content.
@shashwattiwari9666
@shashwattiwari9666 3 жыл бұрын
mast kaam krta h codebasics bhai tum
@HabiburRahamaniit
@HabiburRahamaniit 2 жыл бұрын
Super Excellent explanation, Dhaval, Sir.
@uchennanwosu5327
@uchennanwosu5327 3 жыл бұрын
Excellent exposition! I have seen some of your other videos in business statistics and they were equally accessible.
@lllcdert826
@lllcdert826 3 жыл бұрын
thank you very much the only video i managed to figure out the metrics
@pankajyadav-en9cw
@pankajyadav-en9cw 4 жыл бұрын
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 4 жыл бұрын
Glad you liked it pankaj
@taufiqulhaque4987
@taufiqulhaque4987 3 жыл бұрын
Each important evaluation metric in a nutshell... Thanks a lot
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@ManikandanRaju
@ManikandanRaju 2 жыл бұрын
Beautifully explained. Thank you so much sir
@694manya
@694manya 2 жыл бұрын
I have another query: For question 2, let's assume 0 stands for not-rainy and 1 stands for rainy days. A business of a large chain ice cream store is using this model to close some branches if it is predicted to rain. A night before, based on model prediction, employees receive an email if they need to show up tomorrow at work or not. The company is already well-known and doesn't need to acquire more customers. Their focus for now is to save costs and not open the store, when there is no customer due to the rain. With this background, which performance metrics will you choose? (10 Points) a. Accuracy b. Precision c. Recall d. F1_score
@musicmaniac3264
@musicmaniac3264 3 жыл бұрын
Sir you are my hero❤❤.
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@HotshotArafath
@HotshotArafath 2 жыл бұрын
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?
@ramyaabin5548
@ramyaabin5548 2 жыл бұрын
Sir you are Awesome. pls join as Amrita School of Computer Science Engineering we need lecturers like you.
@nikhilkshaji5165
@nikhilkshaji5165 Жыл бұрын
Thank for helping to understand these concepts.🥰❤
@rishavbhattacharjee7182
@rishavbhattacharjee7182 4 жыл бұрын
Brilliant Deep Learning Series sir😍
@gauravpathak560
@gauravpathak560 4 жыл бұрын
Thanku sir It's help me to understand the behind the scene related to f1_score,precision and recall. Thanku so much again...
@Susa270
@Susa270 2 жыл бұрын
I am so Thankful to you. Crisp and Clear. 🙏 🙂
@codebasics
@codebasics 2 жыл бұрын
You are so welcome
@jaysoni7812
@jaysoni7812 4 жыл бұрын
I understand these things, but I have question that when and why we use these things?
@devinpython5555
@devinpython5555 4 жыл бұрын
in classification task this concepts are useful ,say you have to evaluate model and report its measure you can use this
@SR-ng5kw
@SR-ng5kw 4 жыл бұрын
For more business use cases check this video: kzbin.info/www/bejne/eJynZ4iaoKedq5o
@LifeAsWeSee678
@LifeAsWeSee678 3 жыл бұрын
Thank you very much for explaining. I just couldn't get what does support means in the end of the video like at 11:07 . Thank you
@leilaamini405
@leilaamini405 3 жыл бұрын
awesome. thanks a lot, you are very professional and teach very clear thank you
@vanisameerayerramilli5049
@vanisameerayerramilli5049 3 жыл бұрын
Brilliant Explanation!! Thanks a lot :)
@rafibasha4145
@rafibasha4145 2 жыл бұрын
@2:16 ,it should be False Negative which is predicting dog as not dog .@3:22 it should be False Positive which is predicting No dog as dog here its 3 Please check and correct it
@adityawanjari5128
@adityawanjari5128 2 жыл бұрын
Thank you for such wonderful explanation
@kalimuthudurairaj9191
@kalimuthudurairaj9191 4 жыл бұрын
Good content... Nicely explained... Thank you...
@codebasics
@codebasics 3 жыл бұрын
I am happy this was helpful to you.
@sushantpenshanwar8038
@sushantpenshanwar8038 Жыл бұрын
Positive is one class (Dog) and negative is another class. Now its easier to remember if we just say in our head True dog vs False Dog instead of True positive and False Positive. Vice versa for other class. Replacing positive and negative with the respective class name.
@abdelhafiddahhani2514
@abdelhafiddahhani2514 2 жыл бұрын
Great explanation 😄
@sanahnahk7312
@sanahnahk7312 2 жыл бұрын
Thank you very much for making it simple.
@gayathrisarangika2512
@gayathrisarangika2512 3 жыл бұрын
Thankyou very much it is very clear explanation ❤❤
@ayoolafakoya9841
@ayoolafakoya9841 4 жыл бұрын
You are an awesome teacher
@avani5381
@avani5381 2 жыл бұрын
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.
@PriyankaDarshanam
@PriyankaDarshanam 3 ай бұрын
if you get an error saying 'sns' not defined, add "import seaborn as sns" to you code
@currentactivities6527
@currentactivities6527 3 жыл бұрын
want to thank you, sir, this helps a lot, love from Pakistan.
@codebasics
@codebasics 3 жыл бұрын
😊👍
@developerboy8341
@developerboy8341 3 жыл бұрын
Absolutely great presentation.
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@kekkettoful
@kekkettoful 3 жыл бұрын
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
@aniketmishra2742
@aniketmishra2742 8 күн бұрын
Best explanation ❤
@sjelallen
@sjelallen 2 жыл бұрын
Great explanation! Very helpful!
@leamon9024
@leamon9024 4 жыл бұрын
Always thanks for your effort and hard work.
@codebasics
@codebasics 4 жыл бұрын
My pleasure!
@chetanguduru
@chetanguduru 3 жыл бұрын
Great expaination. Thanks for this!
@MrAconfee
@MrAconfee 2 жыл бұрын
Thank you! Great explanation.
@ilmu011
@ilmu011 3 жыл бұрын
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
@kunchammadhukumar4820
@kunchammadhukumar4820 2 жыл бұрын
damn...! your explanation 🔥🔥🔥
@ankitachaudhari99
@ankitachaudhari99 3 жыл бұрын
Subscribed. Explained well!!
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@azamshakori6926
@azamshakori6926 Жыл бұрын
It was amazing, Thank u so much
@prudhvivalintine
@prudhvivalintine 3 жыл бұрын
Great Visual representation.
@codebasics
@codebasics 3 жыл бұрын
I am happy this was helpful to you.
@muskankuchhal2403
@muskankuchhal2403 4 жыл бұрын
Thank you so much for this amazing content. Sir, can you make the CNN tutorial? If yes, when can we expect it?
@codebasics
@codebasics 4 жыл бұрын
Yes, soon
@kashifiqbal5151
@kashifiqbal5151 4 жыл бұрын
@@codebasics i am also waiting sir..
@DataLift
@DataLift 2 жыл бұрын
on 3:03 *True Negative = 2* and *False Negative = 1*
@Gaunayan209
@Gaunayan209 8 ай бұрын
This is nice session 👍
@borngenius4810
@borngenius4810 4 жыл бұрын
thanks for these excellent videos. My question : do we used these Precsion, Recall , F1 parameters while using cross validaton method to chose a model?
@jerichokayson2899
@jerichokayson2899 3 жыл бұрын
you all probably dont give a damn but does anybody know a tool to get back into an Instagram account?? I was dumb lost my login password. I appreciate any assistance you can offer me.
@sonnybrecken3818
@sonnybrecken3818 3 жыл бұрын
@Jericho Kayson instablaster =)
@jerichokayson2899
@jerichokayson2899 3 жыл бұрын
@Sonny Brecken thanks so much for your reply. I got to the site on google and Im waiting for the hacking stuff atm. Looks like it's gonna take quite some time so I will get back to you later when my account password hopefully is recovered.
@jerichokayson2899
@jerichokayson2899 3 жыл бұрын
@Sonny Brecken It worked and I actually got access to my account again. I'm so happy:D Thanks so much you really help me out !
@sonnybrecken3818
@sonnybrecken3818 3 жыл бұрын
@Jericho Kayson No problem xD
@manikandang7864
@manikandang7864 3 жыл бұрын
Great explanation Sir, Really helpful
@codebasics
@codebasics 3 жыл бұрын
Glad to hear that
@mriduldongsare1555
@mriduldongsare1555 7 ай бұрын
Very well explained
@mnal.abdulrahman
@mnal.abdulrahman 3 жыл бұрын
Thank you soooooooo soooo much 😍😍🙏🙏🙏👌you helped me a lot
@codebasics
@codebasics 3 жыл бұрын
You're welcome 😊
@ilmu011
@ilmu011 3 жыл бұрын
Very good explanation!
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@adamtki
@adamtki Жыл бұрын
Excellent video!
@anmol_seth_xx
@anmol_seth_xx 2 жыл бұрын
Sir, Can you please tell me from these F1 score, what we can compute about our model, and what to do when we get these values?
@sadi-90
@sadi-90 9 ай бұрын
What is support,Marco avg and weight avg please explain them
@kunalsinha962
@kunalsinha962 3 жыл бұрын
Best Explanation. Thankyou Sir
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@mujamilkhan714
@mujamilkhan714 4 жыл бұрын
Extremely waiting series🙌🏻
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@uwebosch9460
@uwebosch9460 Жыл бұрын
I loved it. Thank you
@Lena-of7wd
@Lena-of7wd 3 жыл бұрын
You've explained this so clearly, thank you!!
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@shibbirahmed7929
@shibbirahmed7929 3 жыл бұрын
Can you plz tell me how I can plot ROC curve for multilabel classification (5 labels of data) to compare various ML models accuracy?
@utn2609
@utn2609 4 жыл бұрын
Thanks so much! Well explained!
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@elbrenantonio81528
@elbrenantonio81528 2 жыл бұрын
Can you create classification report for image detection or identification?
@travelwithus3732
@travelwithus3732 Жыл бұрын
hi, Thanks for the video, what is meant by macro avg and weighted avg in the classification report?
@PSTWFB
@PSTWFB Жыл бұрын
#confusion#matrix#machinelearning#deep#precision#recall F1 #score#accuracy#true#positive #negative! kzbin.info/www/bejne/j52pmKaXrcaajpI
@694manya
@694manya 2 жыл бұрын
Great explantion. I have one question,"which performance metric should I choose (accuracy, precision, recall and f1_score) if I have no information what the dataset is about?"
@codebasics
@codebasics 2 жыл бұрын
Do you know if dataset is imbalanced? If yes and if you are not downsampling or upsampling or applying any other techniques to handle imbalance then you need to use f1_score. Using accuracy will give you misleading information
@694manya
@694manya 2 жыл бұрын
@@codebasics I'll share the dataset here and the exact question.
@694manya
@694manya 2 жыл бұрын
@@codebasics 6.Below you see two columns coming from a classification problem. The first column is the predicted value, the second is the real value. A value of 1 stands for positive/yes, and 0 means negative or no. Find TN, TP, FP, FN. Predicted Values Real Values 0 0 1 1 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1 0 0 1 1 1 1 0 0 1 1 0 0 1 1 1 0 1 1 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 1 1 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 1 0 1 1 0 0 1 1 0 0 0 0 1 0 0 0 1 1 1 0 1 1 0 0 1 1 0 1 1 1 1 0 1 1 0 0 1 1
@694manya
@694manya 2 жыл бұрын
@@codebasics 8.For question 6, which performance metrics will you choose if we don’t have any information about what is the dataset about? (10 Points) a. Accuracy b. Precision c. Recall d. F1_score e. We better not to choose any performance metrics, when we don't know what data is about
@pasankalansooriya3124
@pasankalansooriya3124 Жыл бұрын
"import seaborn as sns" is missing in the code. Add it before running
@akbarboghani1
@akbarboghani1 2 жыл бұрын
Good explanation. How accuracy and precision are used in the real-world scenario? Can you share some references for the same
@waedkhwies5550
@waedkhwies5550 2 жыл бұрын
May I ask a question please? What are the required specifications for a deep learning training server? Thank you
@harshwardhanchougule3039
@harshwardhanchougule3039 Жыл бұрын
very well explained!!!!
@PSTWFB
@PSTWFB Жыл бұрын
Artificial Intelligence, Machine Learning, Deep Learning, Supervised, Unsupervised kzbin.infowYHXPNTTVBE?feature=share
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 350 М.
ROC and AUC, Clearly Explained!
16:17
StatQuest with Josh Starmer
Рет қаралды 1,5 МЛН
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 405 М.
Precision, Recall, & F1 Score Intuitively Explained
8:56
Scarlett's Log
Рет қаралды 57 М.
What are Precision and Recall in Machine Learning?
8:08
Levity
Рет қаралды 10 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН