Data preparation
You are building a machine learning model that uses NLP for a sentiment analysis project that classifies restaurant reviews as positive, negative, or neutral. To prepare the data for training, you must preprocess and represent the text data numerically.
Your dataset contains thousands of reviews, one of which states:
"The food was delicious, but the service was extremely slow."
Which text preprocessing steps most likely remove the words "but" and "was" from this review?
Deze oefening maakt deel uit van de cursus
Large Language Models (LLMs) Concepts
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen