Coder Social home page Coder Social logo

vidhi1290 / emotion-classifier-with-deep-learning Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 58 KB

Welcome to the Emotion Classifier project! This repository contains a comprehensive solution for emotion classification using Natural Language Processing (NLP) and deep learning techniques.πŸ˜­πŸ€£πŸ™‚

Jupyter Notebook 100.00%
confusion-matrix emotion-classifier emotion-detection lstm lstm-neural-networks nlp nlp-machine-learning softmax visualization

emotion-classifier-with-deep-learning's Introduction

Emotion Classifier with Deep Learning πŸš€

Welcome to the Emotion Classifier project! This repository contains a comprehensive solution for emotion classification using Natural Language Processing (NLP) and deep learning techniques.

Overview

This project aims to build a model capable of accurately categorizing text samples into three emotion classes: anger, joy, and fear. The provided dataset, "Emotion_classify_Data.csv," forms the basis for training and evaluating our model.

Emotion Classifier with Deep Learning πŸš€

Index πŸ“–

  1. Introduction
  2. Dataset Overview
  3. Data Preprocessing
    1. Loading the Dataset
    2. Data Cleaning and Label Encoding
    3. Train-Test Split
  4. Tokenization and Padding
  5. Model Architecture
  6. Model Training
  7. Model Evaluation
  8. Visualizations
    1. Training History
    2. Confusion Matrix
  9. Actual vs. Predicted Examples
  10. Conclusion

1. Introduction πŸš€

Welcome to the Emotion Classifier journey! Our mission? Unleash the power of NLP and deep learning to decode emotions from text.

2. Dataset Overview πŸ“Š

Our dataset, named "Emotion_classify_Data.csv," is a treasure trove of emotionsβ€”anger, joy, and fearβ€”spread across 5937 entries.

3. Data Preprocessing 🧹

3.1. Loading the Dataset

Let’s open the treasure chest and explore the dataset structure.

3.2. Data Cleaning and Label Encoding

Transforming text into numbersβ€”our magical preprocessing step.

3.3. Train-Test Split

Balance is key! We split the dataset into realms of training and testing.

4. Tokenization and Padding πŸ“

Turning text into sequences and ensuring a uniform length for our magical machine.

5. Model Architecture 🏰

Our emotion classification castle: an embedding layer, an LSTM tower, and a dense layer with softmax magic.

6. Model Training πŸš‚

Witness the model’s evolution over 10 enchanting epochs.

7. Model Evaluation 🌟

The grand reveal! Classification metrics paint a vivid picture of our model’s emotional insight.

8. Visualizations πŸ“ˆ

8.1. Training History

A visual symphony of accuracy and validation accuracy dancing over epochs.

8.2. Confusion Matrix

A heatmap spectacle revealing the model’s performance in vivid colors.

9. Actual vs. Predicted Examples 🎭

The stage is set! Ten examples showcasing the model’s prowess in predicting emotions.

10. Conclusion 🌟

In this magical journey, we’ve crafted a robust solution for emotion classification. The model, a beacon of performance, awaits those delving into the enchanting world of NLP.

Connect with Me 🌐

πŸš€ Open to Collaborations and Tech Discussions!

emotion-classifier-with-deep-learning's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.