The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
naive bayes classification - confidences are binary
I'm using Naive Bayes to develop a model and then applying that model to classify a set of new documents into relevant and not. When I do this, all of the classification confidences are binary, matching the predicted group. If I switch out Naive Bayes for k-NN, I do get non-binary confidences. Are these binary confidences correct (seems unlikely) or is something going wrong?
Thanks in advance.
Thanks in advance.
0
Answers
Best,
Marius
Here is the process for generating the model:
W-BayesLogisticRegression also only gives binary confidences whereas W-BayesNet does give non-0/1 confidences but all of the documents classified as irrelevant have the same confidence, with a little more variation for those classified as relevant.
I am currently using a sample of 500 documents that have been coded relevant/irrelevant and I am using the model to predict 100 new documents.
And here's a simpler version of the process that suffers from the sample problem:
To generate the model: And to apply model to new data set:
If there’s any other information that would help shed light on this, please let me know.
Thanks!
Best,
~Marius