This repository contains the ipynb file for a machine learning model used to predict the sentiment analysis of a tweet on the popular website 'X'(formerly Twitter). It uses Logistic Regression to create a model to analyse he tweet. The dataset used has been pulled using an API request from Kaggle. This project has been made on Google Colab.
- Pandas
- Numpy
- Sklearn:
- feature_extraction
- model_selection
- linearmodel
- metrics
- nltk:
- nltk.corpus
- nltk.stem.porter
The accuracy score of the model is about 77%. This means for every 100 entries, the model will accurately predict 77 of them.