Project Workshop: Define the Problem and Explore the Data
It's time for the capstone project! You will build a complete sentiment analysis system that classifies movie reviews as positive or negative. We'll put together everything you've learned: data exploration, preprocessing, feature engineering, model selection, evaluation, and interpretation.
We are dealing with a binary text classification problem. Given the text of a movie review, our goal is to predict the label: Positive or Negative.
We have a dataset of 2,000 movie reviews (1,000 positive and 1,000 negative). Before jumping into modeling, you must understand your data.
Use pandas to explore the dataset and answer these questions:
df['sentiment'].value_counts(). Are the classes perfectly balanced?