Challenge 2
Aufgabe
Swipe to start coding
So, now let's remember what we do with text data. You will be working with the 'reviews.csv'
dataset, and your task will be to encode text data using the bag of words method.
- Create a
CountVectorizer
object to tokenize text - Fit data to the tokenizer
- Print the vocabulary of the tokenizer
- Encode
'Text'
column - Print the results
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 6. Kapitel 2
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Suggested prompts:
Zusammenfassen Sie dieses Kapitel
Code in file erklären
Erklären, warum file die Aufgabe nicht löst
Awesome!
Completion rate improved to 3.33
Challenge 2
Swipe um das Menü anzuzeigen
Aufgabe
Swipe to start coding
So, now let's remember what we do with text data. You will be working with the 'reviews.csv'
dataset, and your task will be to encode text data using the bag of words method.
- Create a
CountVectorizer
object to tokenize text - Fit data to the tokenizer
- Print the vocabulary of the tokenizer
- Encode
'Text'
column - Print the results
Lösung
War alles klar?
Danke für Ihr Feedback!
Awesome!
Completion rate improved to 3.33Abschnitt 6. Kapitel 2
single