Classifiers, threshold, and ROC curve

  • Thread starter Thread starter fog37
  • Start date Start date
  • Tags Tags
    Threshold
Click For Summary

Discussion Overview

The discussion revolves around the concepts of classifiers in machine learning, specifically focusing on probabilistic versus deterministic classifiers, the use of thresholds in decision-making, and the applicability of ROC curves for different types of classifiers. The scope includes theoretical aspects of classification algorithms and their characteristics.

Discussion Character

  • Debate/contested
  • Technical explanation

Main Points Raised

  • Some participants propose that classifiers can be categorized as probabilistic, which output a probability score compared against a threshold to make class decisions.
  • Others argue that not all classifiers, particularly deterministic ones, necessarily operate based on a threshold, and question the validity of the term 'deterministic classifier.'
  • There is a suggestion that the ROC curve can be plotted for binary classifiers, but the relevance of this for all classifiers remains contested.
  • Some participants express confusion regarding the classification of certain algorithms, such as KNN, which can be described as either predictors or classifiers.
  • There is a sentiment that generalizations in the diverse field of machine learning may not be productive.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the definitions and characteristics of probabilistic versus deterministic classifiers, nor on the applicability of thresholds and ROC curves across all classifiers. Multiple competing views remain regarding these concepts.

Contextual Notes

The discussion highlights limitations in understanding the diversity of classification algorithms and the potential misapplication of terms like 'deterministic classifier.' There is also an indication that some foundational knowledge may be lacking among participants.

fog37
Messages
1,566
Reaction score
108
TL;DR
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
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?
 
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 relevant.
 
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 relevant.
Confusingly, Knn is sometimes described as a predictor, some times as a classifier.
 
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   Reactions: WWGD
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 ·
Replies
1
Views
988
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
2K
  • · Replies 61 ·
3
Replies
61
Views
10K
  • · Replies 72 ·
3
Replies
72
Views
10K