Questions tagged [naive-bayes-algorithim]
The naive-bayes-algorithim tag has no usage guidance.
12
questions
1
vote
2
answers
69
views
How to calculate true positive, true negative, false positive, negative and postive with Bayes Classifer from scratch
I am working on implementing a Naive Bayes Classification algorithm. I have a method def prob_continous_value which is supposed to return the probability density ...
0
votes
0
answers
13
views
Naive Bayes unable to detect preprocessing techniques from data
I'm testing out different preprocessing techniques on mulit-class classification problems. I've used multiple algorithms, but the only algorithm that giving me trouble is Naive Bayes.
...
0
votes
1
answer
23
views
Stop words list to use for CountVectorization
The sci-kit learn library by defaults provides two options either no stop words
or one can specify stop_words=english to include a list of predefined English words
I am using Naive Bayes for SMS spam ...
1
vote
1
answer
23
views
Comparison of different Naive Bayes algorithm for SMS classification
There are various types of Naive Bayes algorithms in the Sklearn library:
Can all of them be used for text classifications? And which one's perform bette
I tested out a simple text classification ...
2
votes
0
answers
62
views
What type of 'Naive Bayes' algorithm is provided by Orange?
I've been using Orange for a while to rapidly prototype a few classification models. One of the ones I've been using is 'Naive Bayes'. If I understand correctly, there are a few types available based ...
2
votes
1
answer
216
views
Really confused with characteristics of Naive Bayes classifiers?
Naive Bayes classifiers have the following characteristics-:
They are robust to isolated noise points because such points are
averaged out when estimating contiditional probabilities from data.
Naive ...
1
vote
2
answers
75
views
Independence of Features assumption in Naive Bayes
How do we know if your features in my dataset are independent before applying Naive Bayes? Basically I want to know is it possible for us to get an idea before training our model if Naive Bayes will ...
0
votes
1
answer
47
views
Subtraction of Positive and Negative Frequencies in Sentiment Analysis
In the Positive Negative Sentiment Analysis, Would it make sense mathematically to instead of keeping a score of the positive frequencies and negative frequencies of a word, calculate the difference ...
2
votes
1
answer
466
views
How to improve results from a Naive Bayes algorithm?
I am having some difficulties in improving results from running a Naive Bayes algorithm.
My dataset consists of 39 columns (some categorical, some numerical).
However I only considered the main ...
5
votes
1
answer
442
views
Why naive bayes is "naive"
Some articles say that naive Bayes is naive because of "independence of attributes". Whereas others say "independence of attributes within a class". Can anybody please clear this ...
1
vote
1
answer
30
views
How does the Naive Bayes algorithm function effectively as a classifier, despite the assumptions of conditional indpendence and bag of words?
Naive Bayes algorithm used for text classification relies on 2 assumptions to make it computationally speedy:
Bag of Words assumption: the position of words is not considered
Conditional Independence:...
1
vote
3
answers
611
views
How to implement HashingVectorizer in multinomial naive bayes algorithim
I had used TfidfVectorizer and passed it through MultinomialNB for document classification, It was working fine.
But now I need to pass a huge set of documents for ex above 1 Lakh and when I am ...