Skip to content

agusabdulrahman/Emotion-analysis-using-NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Emotion Analysis Using NLP

Emotion analysis is the process of recognizing and extracting emotions from text. This project aims to build a model for emotion analysis using Natural Language Processing (NLP) techniques.

Requirements

  • Python 3.x
  • TensorFlow 2.x
  • scikit-learn
  • numpy
  • pandas

Data

The data used in this project is clik

Model

The model is built using a TensorFlow 2.x deep learning model and is trained on a binary classification problem to predict the emotion of a given text. The model consists of an embedding layer, followed by several dense layers, and finally a softmax activation layer to output the probability of each emotion.

Usage

  1. Clone the repository: git clone https://github.com/agusabdulrahman/emotion-analysis-nlp.git
  2. Install the required packages: pip install -r requirements.txt
  3. Train the model: python train.py
  4. Test the model: python test.py

Results

The model achieved an accuracy of xx% on the test data. Further improvement can be made by using more data, fine-tuning the model, and exploring different NLP techniques.

Contributing

Contributions are welcome! If you want to contribute to this project, please create a fork, make your changes, and submit a pull request.

Releases

No releases published

Packages

No packages published

Languages