0% found this document useful (0 votes)
12 views5 pages

Gaurav 2101EE31

Presentation on SVM model for text processing

Uploaded by

gkg11092003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views5 pages

Gaurav 2101EE31

Presentation on SVM model for text processing

Uploaded by

gkg11092003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

EMOTION DETECTION FROM TEXT

USING
MACHINE LEARNING
By- Gaurav Kumar Gupta (2101EE31)

Indian Institute of Technology Patna


OVERVIEW
OBJECTIVE-
Build a model to detect 5 core emotions
(anger, happy, love, neutral, sad) from
text.

DATA SOURCE-
2 public datasets are procured to get
35000+ samples, and sources are taken
such that they complement each other’s
samples in terms of emotions having less
number of rows.

KEY
• Custom emotion mapping to unify
INNOVATION
similar labels.
• Handling emojis and punctuations.
APPROACH
Preprocessing
• Converting emojis/emoticons to text.
• Removing punctuations and repitions of
special characters.
• Tokenization

Feature Engineering:
• TF-IDF with n-grams (unigrams + bigrams)
• Dimensionality control (10000 max
features)
Model Selection
• Linear SVM (SDGC Classifier)
• Optimized for F1-score (handles class imbalance)
RESULTS
Model Evaluation
• Accuracy: 67.3%
• F1-Score: 66.7% (macro avg)
• Best Class: Anger (F1=0.72)
• Challenging Class: Love (Recall=0.51)

Highlights
• Neutral Emotion Confused with Happy
• Strong Separation for Anger vs Sad.
• Accuracy of 75% can be achieved by
dropping neutral from the dataset.
THANK YOU
ANY
QUESTIONS?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy