This project performs an in-depth sentiment analysis on a dataset of movie reviews. The goal is to classify the reviews as positive or negative using advanced natural language processing (NLP) techniques and various machine learning models.
- Data Preprocessing: Load and clean the dataset, remove noise, and convert text to numerical data using TF-IDF.
- Exploratory Data Analysis (EDA): Analyze and visualize the distribution of sentiments, common words, and create word clouds.
- Model Training: Split data into training and testing sets. Train multiple models including Logistic Regression, Naive Bayes, SVM, Random Forest, and Gradient Boosting.
- Hyperparameter Tuning: Optimize model parameters using GridSearchCV for better performance.
- Model Evaluation: Evaluate models using accuracy, precision, recall, F1-score, and ROC-AUC. Visualize performance metrics.
- Visualization: Use matplotlib and seaborn for visualizing key steps and results.
- Pandas
- NumPy
- scikit-learn
- NLTK
- matplotlib
- Regression
- seaborn
- Flask