https://github.com/fpt-thaituan/using-word-embeddings-for-twitter-sentiment-analysis
The project researches sentiment analysis on Twitter, with the goal of evaluating the positivity, negativity or neutrality of comments. Using Word Embeddings, an advanced method in natural language processing, our model achieved a high accuracy of 96.61%. The model was trained on Twitter data and tested on a data comment dataset from Binance.
https://github.com/fpt-thaituan/using-word-embeddings-for-twitter-sentiment-analysis
ai binance-sentiment-analysis depplearning natural-language-processing twitter-sentiment-analysis wordembedding
Last synced: about 1 year ago
JSON representation
The project researches sentiment analysis on Twitter, with the goal of evaluating the positivity, negativity or neutrality of comments. Using Word Embeddings, an advanced method in natural language processing, our model achieved a high accuracy of 96.61%. The model was trained on Twitter data and tested on a data comment dataset from Binance.
- Host: GitHub
- URL: https://github.com/fpt-thaituan/using-word-embeddings-for-twitter-sentiment-analysis
- Owner: FPT-ThaiTuan
- Created: 2024-03-26T23:00:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T00:10:05.000Z (over 2 years ago)
- Last Synced: 2024-12-06T08:12:03.402Z (almost 2 years ago)
- Topics: ai, binance-sentiment-analysis, depplearning, natural-language-processing, twitter-sentiment-analysis, wordembedding
- Language: Jupyter Notebook
- Homepage:
- Size: 12.5 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Using Word Embeddings for Twitter Sentiment Analysis**
# **Project implementation**
### **1. Learn the basic concepts of Natural Language Processing**
### **1.1. Learn about Word Embeddings (eg: Bag of Words (BOW), Word2Vec,..)**
### **1.2. Refer to related research articles**
### **1.3. Refer to related code articles**
## **2. Deploy project construction**
### **2.1. Collect data (Here I use kaggle)**
**- The link to the dataset is**
[DATASET](https://www.kaggle.com/datasets/jp797498e/twitter-entity-sentiment-analysis?select=twitter_training.csv)
**- Data chart**


### **2.2. Data preprocessing**
**- Select inputs for model target and features**
**- Delete emoticons, special characters, limit the number of words in a sentence**
**- Standardize train data, validation data**
**- Converted our label to a one-time encoded value for the label**
### **2.3. Build the model**
**- Model architecture**

### **2.4. Visualize parameters and results**
**- Show loss and accuracy train and validation**


### **2.5. Perform testing on external data sets**
**- Basic results and examples**

**- Results with binance test set**

### **2.6. Visualize the vector and text above**
**- Vector data image**
**- Points: 9999**
**- Dimension: 64**

**- You can try this link**
[tensorflow](https://projector.tensorflow.org/)
## **3. Conclusion**
### **3.1. Advantages and disadvantages of the method used**
- Word embeddings are powerful representations of words in a continuous vector space, capturing semantic relationships and improving NLP tasks' performance. They offer advantages such as semantic representation, dimensionality reduction, and transfer learning. However, they have limitations like fixed vocabulary, contextual ambiguity, and data bias.
### **3.2. Find ways to improve the model in the future**
- Further development in terms of application
- Train the model with larger data
- Model improvements (combining other models, changing parameters,...)
### **Hope this article can help you.**
### **If you have any questions please contact me for help!**
### **Gmail: tuanddt.ai.work@gmail.com**
### ***Thanks everyone!***