Connect your moderator Slack workspace to receive post notifications:
Sign in with Slack

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?)

Page 1 of 1

Add comment

Post as Anonymous Dont send out notification