## Machine Learning with Scikit-Learn Python | ROC & AUC

In this video, I’ve shown how to plot ROC and compute AUC using scikit learn library.
#scikitlearn #python #machinelearning

Support me if you can ❤️
https://www.paypal.com/paypalme2/suji04

For more videos please subscribe –
http://bit.ly/normalizedNERD

Source code –
https://github.com/Suji04/Diabetes-Detection

Previous video on ROC-AUC –
https://youtu.be/liiVoYDbs1A

Instagram –
https://www.instagram.com/normalizednerd/

Source

### Comment List

• Normalized Nerd
November 24, 2020

If we have more that 2 classes like my data has class 1,2,3 how do you plot roc & auc for that data?

• Normalized Nerd
November 24, 2020

Thank you very much most videos just make videos on iris data i don't like it its too easy and doesn't explain anything. Thank you for explaining with a proper dataset

• Normalized Nerd
November 24, 2020

If that Kaggle tutorial is yours nice work, coz that thing is fire

• Normalized Nerd
November 24, 2020

How to plot ROC in multiclass classification?

• Normalized Nerd
November 24, 2020

Nice intuition simple and straight forward

• Normalized Nerd
November 24, 2020

Sir getting error as Logistic Regression has no attribute decision_ function, how to tackle this?

• Normalized Nerd
November 24, 2020

Finally someone who know what he's doing.
Thanks a lot man, this is really good

• Normalized Nerd
November 24, 2020

So I am using multi layer perceptron and naive bayes they don't have a a decision function method. I was looking around and it says maybe to try the predict_prob function but what do I put as my argument in the parameter? I tried putting X_test my testing for training and I was getting a shape error some reason

• Normalized Nerd
November 24, 2020

Hi ,

Nice intuition..!!! Looking for more ML videos. I have below query

So AUC, ROC curve is only used when we have 2 models (as you told in the video logistic regression and SVM) which one is the good.

Suppose we are using only logistic regression, how we can find which threshold value we are using for the model and how we can convey this is the optimal threshold value.

• Normalized Nerd
November 24, 2020

How can we use this threshold value? What is the aim of it?