Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sessions = data[‘visited pages’]
- count_vectorizer = CountVectorizer()
- count_vectorizer.fit(sessions)
- sessions_vectorized = count_vectorizer.transform(sessions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement