Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. pipeLine = Pipeline([('vect', CountVectorizer(analyzer=lambda word: wt(word))),
  2. ('tfidf', TfidfTransformer()),
  3. ])
  4. vec_ter_x = pipeLine.fit_transform(X_train)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement