Classifiers, threshold, and ROC curve

  • Thread starter fog37
  • Start date
  • Tags
    Threshold
  • #1
fog37
1,568
108
TL;DR Summary
Classifiers, threshold, and ROC curve
Hello,

A classifier is a ML model that can classify between 2 or more classes. Some classifiers are called probabilistic in the sense that they output a probability score that is then compared against a threshold value (usually 0.5) to make the class decision. Other classifiers are not probabilistic...I guess they are called deterministic. We can always plot the ROC curve for a binary classifier. The ROC curve depends on TPR, FPR and various explored threshold values. The TPR and FPR vary for different threshold values...

Do all deterministic classifiers make their decision also based on some set threshold? If so, does it mean that we can plot the ROC curve for any classifier, probabilistic or not?

Thank you!
 
Technology news on Phys.org
  • #2
fog37 said:
TL;DR Summary: Classifiers, threshold, and ROC curve

Hello,

A classifier is a ML model that can classify between 2 or more classes. Some classifiers are called probabilistic in the sense that they output a probability score that is then compared against a threshold value (usually 0.5) to make the class decision. Other classifiers are not probabilistic...I guess they are called deterministic. We can always plot the ROC curve for a binary classifier. The ROC curve depends on TPR, FPR and various explored threshold values. The TPR and FPR vary for different threshold values...

Do all deterministic classifiers make their decision also based on some set threshold? If so, does it mean that we can plot the ROC curve for any classifier, probabilistic or not?

Thank you!
I'm not aware of any probabilistic classifier. Usually you just compare the predicted with the actual known value/class of elements in the Testing set., all, like you said, given a threshold, so that, e.g., a threshold of 0.6 will give us a given Confusion Matrix Can you give us examples of probabilistic classifiers?
 
  • #3
fog37 said:
Some classifiers are called probabilistic in the sense that they output a probability score that is then compared against a threshold value (usually 0.5) to make the class decision.
No, that is not what a probabilistic classifier does: https://en.wikipedia.org/wiki/Probabilistic_classification

fog37 said:
Do all deterministic classifiers make their decision also based on some set threshold?
No: first of all the term 'deterministic classifier' is not generally recognised, and secondly you should revise your understanding of this material and consider whether your question makes sense given the diversity of classification algorithms.

fog37 said:
If so, does it mean that we can plot the ROC curve for any classifier, probabilistic or not?
Once you have revised this material you should be able to see whether this question is relevent.
 
  • #4
pbuk said:
No, that is not what a probabilistic classifier does: https://en.wikipedia.org/wiki/Probabilistic_classification


No: first of all the term 'deterministic classifier' is not generally recognised, and secondly you should revise your understanding of this material and consider whether your question makes sense given the diversity of classification algorithms.


Once you have revised this material you should be able to see whether this question is relevent.
Confusingly, Knn is sometimes described as a predictor, some times as a classifier.
 
  • #5
WWGD said:
Confusingly, Knn is sometimes described as a predictor, some times as a classifier.
Yes, in a field as diverse and dynamic as machine learning categorisation and making generalisations in the way the OP is trying to do is IMHO a waste of time.
 
  • Like
Likes WWGD
  • #6
pbuk said:
Yes, in a field as diverse and dynamic as machine learning categorisation and making generalisations in the way the OP is trying to do is IMHO a waste of time.
Same goes for SVMs, also listed for both Classification and Regression
 

Similar threads

Replies
1
Views
687
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
13
Views
1K
  • Programming and Computer Science
Replies
4
Views
3K
  • Programming and Computer Science
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
Replies
12
Views
1K
Replies
72
Views
5K
Replies
4
Views
1K
  • Beyond the Standard Models
Replies
1
Views
2K
Back
Top