IniziaInizia gratis

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?

Questo esercizio fa parte del corso

Large Language Models (LLMs) Concepts

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio