Is the classifier confused?
$begingroup$
Binary Classifier:
Assuming I have built a binary classifier and decided on an operating point. And made the classifier live on production data. This classifier returns the probability score for each of the two classes.
Is it safe to say, for production/out-of-sample instances where the classifier returns a probability score close to the operating point, the classifier is confused for those instances?
Moreover, if the I collect those instances where the classifier scores are close to the operating point.
And compare it with my training data. There could be two cases:
The "confusing" instances have significantly different distribution as opposed to the training data. In which case, my classifier is not faulty. And If possible I should manually label these instances and refit the classifier.
The "confusing" instances have similar distribution to my training data. In which case my classifier is at fault. What could be the implications of this case? But I believe this case would have been captured while training itself. Such instances would be very less in cardinality.
If the above mentioned thought process is correct. How can we extend this to multi-class classifier?
classification multiclass-classification
$endgroup$
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
$begingroup$
Binary Classifier:
Assuming I have built a binary classifier and decided on an operating point. And made the classifier live on production data. This classifier returns the probability score for each of the two classes.
Is it safe to say, for production/out-of-sample instances where the classifier returns a probability score close to the operating point, the classifier is confused for those instances?
Moreover, if the I collect those instances where the classifier scores are close to the operating point.
And compare it with my training data. There could be two cases:
The "confusing" instances have significantly different distribution as opposed to the training data. In which case, my classifier is not faulty. And If possible I should manually label these instances and refit the classifier.
The "confusing" instances have similar distribution to my training data. In which case my classifier is at fault. What could be the implications of this case? But I believe this case would have been captured while training itself. Such instances would be very less in cardinality.
If the above mentioned thought process is correct. How can we extend this to multi-class classifier?
classification multiclass-classification
$endgroup$
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
$begingroup$
Binary Classifier:
Assuming I have built a binary classifier and decided on an operating point. And made the classifier live on production data. This classifier returns the probability score for each of the two classes.
Is it safe to say, for production/out-of-sample instances where the classifier returns a probability score close to the operating point, the classifier is confused for those instances?
Moreover, if the I collect those instances where the classifier scores are close to the operating point.
And compare it with my training data. There could be two cases:
The "confusing" instances have significantly different distribution as opposed to the training data. In which case, my classifier is not faulty. And If possible I should manually label these instances and refit the classifier.
The "confusing" instances have similar distribution to my training data. In which case my classifier is at fault. What could be the implications of this case? But I believe this case would have been captured while training itself. Such instances would be very less in cardinality.
If the above mentioned thought process is correct. How can we extend this to multi-class classifier?
classification multiclass-classification
$endgroup$
Binary Classifier:
Assuming I have built a binary classifier and decided on an operating point. And made the classifier live on production data. This classifier returns the probability score for each of the two classes.
Is it safe to say, for production/out-of-sample instances where the classifier returns a probability score close to the operating point, the classifier is confused for those instances?
Moreover, if the I collect those instances where the classifier scores are close to the operating point.
And compare it with my training data. There could be two cases:
The "confusing" instances have significantly different distribution as opposed to the training data. In which case, my classifier is not faulty. And If possible I should manually label these instances and refit the classifier.
The "confusing" instances have similar distribution to my training data. In which case my classifier is at fault. What could be the implications of this case? But I believe this case would have been captured while training itself. Such instances would be very less in cardinality.
If the above mentioned thought process is correct. How can we extend this to multi-class classifier?
classification multiclass-classification
classification multiclass-classification
asked Dec 24 '18 at 4:32
Karanv.10111Karanv.10111
62
62
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The more accurate term would be "uncertain", but you are correct in your line of thought.
Your classifier (based on learned or engineered features distributions) can't determine with certainty which class to assign to this merginal cases.
It isn't necessary a case where they have a completely different distribution, more likelely that they are part of the same distribution but are located on its tail close to the tail of the distribution of the Second class (think 2 gaussians that at some area share similar density values).
Depending on the amount of such cases, you should examine them and attempt to trace the source of confusion. Maybe some clever preprocessing could help or different features (and maybe these are just outliers).
In the multi class case, you would probably get similar behavior, but each time on a subset of all classes. I.E. the model is certain that the sample is one of 2-3 classes (out of 10 total classes for example) but it can't be certain from which specific class. So you will get probabilities of similar values for these classes and very small probabilities for the rest.
$endgroup$
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "557"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f43085%2fis-the-classifier-confused%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The more accurate term would be "uncertain", but you are correct in your line of thought.
Your classifier (based on learned or engineered features distributions) can't determine with certainty which class to assign to this merginal cases.
It isn't necessary a case where they have a completely different distribution, more likelely that they are part of the same distribution but are located on its tail close to the tail of the distribution of the Second class (think 2 gaussians that at some area share similar density values).
Depending on the amount of such cases, you should examine them and attempt to trace the source of confusion. Maybe some clever preprocessing could help or different features (and maybe these are just outliers).
In the multi class case, you would probably get similar behavior, but each time on a subset of all classes. I.E. the model is certain that the sample is one of 2-3 classes (out of 10 total classes for example) but it can't be certain from which specific class. So you will get probabilities of similar values for these classes and very small probabilities for the rest.
$endgroup$
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
add a comment |
$begingroup$
The more accurate term would be "uncertain", but you are correct in your line of thought.
Your classifier (based on learned or engineered features distributions) can't determine with certainty which class to assign to this merginal cases.
It isn't necessary a case where they have a completely different distribution, more likelely that they are part of the same distribution but are located on its tail close to the tail of the distribution of the Second class (think 2 gaussians that at some area share similar density values).
Depending on the amount of such cases, you should examine them and attempt to trace the source of confusion. Maybe some clever preprocessing could help or different features (and maybe these are just outliers).
In the multi class case, you would probably get similar behavior, but each time on a subset of all classes. I.E. the model is certain that the sample is one of 2-3 classes (out of 10 total classes for example) but it can't be certain from which specific class. So you will get probabilities of similar values for these classes and very small probabilities for the rest.
$endgroup$
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
add a comment |
$begingroup$
The more accurate term would be "uncertain", but you are correct in your line of thought.
Your classifier (based on learned or engineered features distributions) can't determine with certainty which class to assign to this merginal cases.
It isn't necessary a case where they have a completely different distribution, more likelely that they are part of the same distribution but are located on its tail close to the tail of the distribution of the Second class (think 2 gaussians that at some area share similar density values).
Depending on the amount of such cases, you should examine them and attempt to trace the source of confusion. Maybe some clever preprocessing could help or different features (and maybe these are just outliers).
In the multi class case, you would probably get similar behavior, but each time on a subset of all classes. I.E. the model is certain that the sample is one of 2-3 classes (out of 10 total classes for example) but it can't be certain from which specific class. So you will get probabilities of similar values for these classes and very small probabilities for the rest.
$endgroup$
The more accurate term would be "uncertain", but you are correct in your line of thought.
Your classifier (based on learned or engineered features distributions) can't determine with certainty which class to assign to this merginal cases.
It isn't necessary a case where they have a completely different distribution, more likelely that they are part of the same distribution but are located on its tail close to the tail of the distribution of the Second class (think 2 gaussians that at some area share similar density values).
Depending on the amount of such cases, you should examine them and attempt to trace the source of confusion. Maybe some clever preprocessing could help or different features (and maybe these are just outliers).
In the multi class case, you would probably get similar behavior, but each time on a subset of all classes. I.E. the model is certain that the sample is one of 2-3 classes (out of 10 total classes for example) but it can't be certain from which specific class. So you will get probabilities of similar values for these classes and very small probabilities for the rest.
answered Dec 24 '18 at 6:40
Mark.FMark.F
629118
629118
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
add a comment |
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
$begingroup$
Thanks for highlighting the overlapping tail case.
$endgroup$
– Karanv.10111
Dec 24 '18 at 7:08
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f43085%2fis-the-classifier-confused%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown