Become a member
Sign in
Wojciech Dziwulski
Wojciech Dziwulski

Wojciech Dziwulski

72 Following
63 Followers
  • Profile
  • Highlights

Highlighted by Wojciech Dziwulski

See more

From Multi-Class Text Classification with Scikit-Learn by Susan Li

…omplaint_narrative'], df['Product'], random_state = 0)
count_vect = CountVectorizer()
X_train_counts = count_vect.fit_transform(X_train)
tfidf_transformer = TfidfTransformer()
X_train_tfidf = tfidf_tra…