Create a Confusion Matrix for Neural Network Predictions

  Рет қаралды 33,747

deeplizard

deeplizard

Күн бұрын

Пікірлер: 52
@deeplizard
@deeplizard 4 жыл бұрын
👉 Check out the blog post and other resources for this video: 🔗 deeplizard.com/learn/video/km7pxKy4UHU 👀 Come say hey to us on OUR VLOG: 🔗 kzbin.info
@BeCorbie
@BeCorbie 4 жыл бұрын
This series is absolute gold! I'm currently working on a thesis about deep neural networks and you are helping me a lot :)
@tymothylim6550
@tymothylim6550 3 жыл бұрын
Thank you very much for this video! It was great to know that there is a function provided already to plot the confusion matrix! It definitely helps me present my assignments more clearly!
@Sikuq
@Sikuq 4 жыл бұрын
I appreciate that your later videos are in higher resolutions. It makes your videos much easier to read code from as compared to the competitive environment. Thanks.
@deeplizard
@deeplizard 4 жыл бұрын
Thanks, Christian! Our audio/video recording and editing skills have greatly improved since the original Keras content with created, so we thought it deserved an update.
@strongsyedaa7378
@strongsyedaa7378 3 жыл бұрын
@@deeplizard I am very much confused in the difference between keras & Tensorflow? Confusion matrix in Multiclass classification Pretrained models ( VGG16) Redundancy Feature engineering Kindly make videos on it please 🙏
@2163o3612
@2163o3612 4 жыл бұрын
I just finished your reinforcement learning video series. It was great. Very good code organization, and fairly thorough but not overwhelming explanations of the underlying mechanisms of reinforcement learning. Thank you.
@2163o3612
@2163o3612 4 жыл бұрын
For an update, I just managed to use the deep Q learning videos to solve my own reinforcement learning problem by making slight modifications to your code. Very excited. (Still may have some bugs though).
@jurgenk.4434
@jurgenk.4434 3 жыл бұрын
I‘m curious how to handle generator as source for confusion matrix input. Any examples available? Thx in advance
@rezakazemi841
@rezakazemi841 4 жыл бұрын
perfect and very useful
@amankinde6610
@amankinde6610 2 жыл бұрын
omg thank you sister
@loyaniloyani8565
@loyaniloyani8565 3 жыл бұрын
How can one plot a confusion matrix for a segmentation model?
@aswink4300
@aswink4300 4 жыл бұрын
Thank you guys.. waiting for next
@pondskoi2073
@pondskoi2073 2 жыл бұрын
Is Confusion Matrix generated for both train and test data ?
@mikeguitar-michelerossi
@mikeguitar-michelerossi 2 жыл бұрын
thank you, very accurate!
@abdullahyousef3596
@abdullahyousef3596 4 жыл бұрын
Hey, thank you so much for this video it was so helpful, but I faced one problem and it was that I can see the confusion matrix shows you (I mean the graph), please help me Note: I am not using Jupyter Thanks!
@MuhammadArnaldo
@MuhammadArnaldo 4 жыл бұрын
Hi, how to do this for multiclass output?
@amanshaikh7413
@amanshaikh7413 4 жыл бұрын
First of thank you so much for this awesome channel .....Really loved it... I had to ask something After plotting the matrix Im getting total of 2100 predictions instead of 420 just like ur result Can you please explain why ?????
@gopikagopan2690
@gopikagopan2690 3 жыл бұрын
How confusion matrix got the actual target values from the testing dataset which was unknown to the model.
@deepjariwala1521
@deepjariwala1521 4 жыл бұрын
Can you help me as i am facing difficulty in processing the image data which has 60000 images i have configured gpu in tf using your video but it is still take too much time
@radhikapatil8003
@radhikapatil8003 3 жыл бұрын
Please do a video on mobile net V3 for image classification 🙏
@deeplizard
@deeplizard 3 жыл бұрын
Hey Radhika - We have episodes on an earlier version of MobileNet starting at the link below. You should be able to follow the same process with MobileNet v3 instead without much change. deeplizard.com/learn/video/OO4HD-1wRN8
@radhikapatil8003
@radhikapatil8003 3 жыл бұрын
@@deeplizard thank you so much I will check it out🙏❤️
@Oof_the_gamer
@Oof_the_gamer 7 ай бұрын
can someone send me the code? I can't find it anywhere.
@manueliglesias1499
@manueliglesias1499 4 жыл бұрын
where is the cm_plot_labels variable created? :(
@javaidahmadwani3446
@javaidahmadwani3446 4 жыл бұрын
Firstly I am thankful to you, I have learn lot from this channel. I really love ❤️ this channel and your efforts. Stay blessed my prayers are always with you. I have fine-tuned vgg16 and got 99 training accuracy and 96 validation. My dataset contains 87k images of (38 classes )different plant leaves. But unfortunately my code unable to plot confusion matrix. It will be great sympathy if you will to resolve the error. Will attach all the code in next comment.
@javaidahmadwani3446
@javaidahmadwani3446 4 жыл бұрын
github.com/javaidatgithub/Plant-Disease-detection-and-Classification-using-Deep-Learning
@javaidahmadwani3446
@javaidahmadwani3446 4 жыл бұрын
Plz help me.
@javaidahmadwani3446
@javaidahmadwani3446 4 жыл бұрын
Confusion matrix for binary classification works pretty well. But for multi classes doesn't work, Plz make a tutorial on confusion matrix for multi classes image classification. We are waiting patiently.
@deeplizard
@deeplizard 4 жыл бұрын
I've never attempted to plot a confusion matrix with this many classes, however, you can see in the later episodes of this course when we fine-tune MobileNet, we plot a confusion matrix with 10 classes with no issues. Maybe this thread will be of use to you for the case of many classes: stackoverflow.com/questions/35572000/how-can-i-plot-a-confusion-matrix
@javaidahmadwani3446
@javaidahmadwani3446 4 жыл бұрын
@@deeplizard Mam plz I have fine tuned vgg16 , vgg19, mobilenet, and own cnn model It is my academic project. I have to submit it before 13th July 2020. Plz help me I have searched errors on stack overflow, github and kaggle but unfortunately did not resolve the same error.
@arjunkashyap8896
@arjunkashyap8896 4 жыл бұрын
You don't open with "Whats up guys" anymore. 😂😂 Great content as always..
@abail7010
@abail7010 4 жыл бұрын
Nice video! Are you planning on creating tutorials for federated deep-neural networks using tensor flow (or other libraries)? :)
@deeplizard
@deeplizard 4 жыл бұрын
Maybe sometime in the future :)
@strongsyedaa7378
@strongsyedaa7378 3 жыл бұрын
Kindly make a video on confusion matrix in multiclass classification please 🙏
@mylifechangingpoint
@mylifechangingpoint 3 жыл бұрын
Where is the setup video. These are not numbered so I am searching at random.
@deeplizard
@deeplizard 3 жыл бұрын
Random search is inefficient. Improve your search algorithm. Try reviewing the video description line by line 🤓
@dr.parvathavarthinek5466
@dr.parvathavarthinek5466 4 жыл бұрын
Is it possible in R programming...
@oueslaatirania1708
@oueslaatirania1708 4 жыл бұрын
Thanks a lot
@maryamateef9725
@maryamateef9725 3 жыл бұрын
TypeError: plot_confusion_matrix() got an unexpected keyword argument 'classes' then I changed classes into labels TypeError: plot_confusion_matrix() got an unexpected keyword argument 'labels' can anyone help?
@علیرضاقنبری-د1ق
@علیرضاقنبری-د1ق 2 жыл бұрын
Hello dear teacher, in the teaching section of confusion_matrix After entering the libraries in the second line, an error is given. What is the reason for this error? I will type in which part the error occurs. In this section, please check and inform = cm = confusion_matrix (y_true = test_labels, y_pred = rounded_predictions) ==================================== The error related to the above code is as follows: ValueError: Found input variables with inconsistent numbers of samples: [420, 2120] ======================================= Thank you for replying to me as soon as possible Thank you for your infinite grace Aliza, your student
@zenchiassassin283
@zenchiassassin283 4 жыл бұрын
Oh nice !
@parasjain06
@parasjain06 4 жыл бұрын
background sound reminds me of GOT(Game of thrones) :D
@aamirali4635
@aamirali4635 4 жыл бұрын
Mam this is my project name... Real-Time Patient-Specific ECG Classification Using Machine Learning ........... would you please.. do me a favor I want to know the methods that work on ECG data models please guide me, mam, please
@tostupidforname
@tostupidforname 4 жыл бұрын
Hey maybe im missing something but the sklearn implementation seems to take different arguments than the version used in the video. Did you do this because sklearn doesnt recognize the NN as a classifier?
@deeplizard
@deeplizard 4 жыл бұрын
What do you see that is different? When I look at the confusion matrix docs, it appears the parameters are the same as used here.
@333JaydeeP
@333JaydeeP 4 жыл бұрын
@@deeplizard def plot_confusion_matrix(estimator, X, y_true, *, labels=None, sample_weight=None, normalize=None, display_labels=None, include_values=True, xticks_rotation='horizontal', values_format=None, cmap='viridis', ax=None) These are the parameters
@HenriqueOz
@HenriqueOz 4 жыл бұрын
@@333JaydeeP yeah, it is different. The plot_confusion_matrix from sklearn makes the calculation for the cm and also plots it. Here we are first making the cm and then passing it to the plotter function. Not sure if this is new, though....
@علیرضاقنبری-د1ق
@علیرضاقنبری-د1ق 2 жыл бұрын
Hello dear teacher, in the teaching section of confusion_matrix After entering the libraries in the second line, an error is given. What is the reason for this error? I will type in which part the error occurs. In this section, please check and inform = cm = confusion_matrix (y_true = test_labels, y_pred = rounded_predictions) ==================================== The error related to the above code is as follows: ValueError: Found input variables with inconsistent numbers of samples: [420, 2120] ======================================= Thank you for replying to me as soon as possible Thank you for your infinite grace Alireza, your student
Save and Load a Model with TensorFlow's Keras API
9:31
deeplizard
Рет қаралды 38 М.
Build a Fine-Tuned Neural Network with TensorFlow's Keras API
11:49
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
I built a 1,000,000,000 fps video camera to watch light move
29:08
AlphaPhoenix
Рет қаралды 395 М.
Why Useless Knowledge Can Be So Useful
16:13
Be Smart
Рет қаралды 207 М.
I Tried Redeeming A Decade Old Minecraft Gift Card
16:47
Cube Dimensions
Рет қаралды 143 М.
But what is a neural network? | Deep learning chapter 1
18:40
3Blue1Brown
Рет қаралды 18 МЛН
Seagate reinvented the hard drive!
9:18
The Friday Checkout
Рет қаралды 244 М.
Why Germany's economic fortunes changed | DW News
10:37
DW News
Рет қаралды 237 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34