Hello, we thought about using MultinomialNB with tfidf Vectorizer and Count Vectorizer. We applied the following code line :
Pipeline([('vect', CountVectorizer()), ('tfidf', TfidfTransformer()), ('clf', MultinomialNB())])
But we don't understand with what MultinomialNB is working: is it with TfidfTransformer or CountVectorizer ? or both ?(How would it be possible to work with both?)
CountVectorizer and TF-IDF
Hello, we thought about using MultinomialNB with tfidf Vectorizer and Count Vectorizer. We applied the following code line :
Pipeline([('vect', CountVectorizer()), ('tfidf', TfidfTransformer()), ('clf', MultinomialNB())])
But we don't understand with what MultinomialNB is working: is it with TfidfTransformer or CountVectorizer ? or both ?(How would it be possible to work with both?)
Add comment