Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeLine = Pipeline([('vect', CountVectorizer(analyzer=lambda word: wt(word))),
- ('tfidf', TfidfTransformer()),
- ])
- vec_ter_x = pipeLine.fit_transform(X_train)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement