As the title states: Is a countvectorizer
the same as tfidfvectorizer
with use_idf=false ? If not why not ?
So does this also mean that adding the tfidftransformer
here is redundant ?
vect = CountVectorizer(min_df=1)
tweets_vector = vect.fit_transform(corpus)
tf_transformer = TfidfTransformer(use_idf=False).fit(tweets_vector)
tweets_vector_tf = tf_transformer.transform(tweets_vector)