Skip to content

Repository files navigation

🎭 Basic Centiment Prediction

🚀 Basic Sentiment & Emotion Analysis using Machine Learning

Python Scikit-Learn Streamlit Status



🌟 Project Overview

EmotionSense AI is a Machine Learning-powered web application that analyzes text and predicts the underlying emotion expressed by the user.

Simply enter your thoughts, feelings, or a sentence, and the model will identify the emotion behind it in real-time.

This project demonstrates the practical application of Natural Language Processing (NLP), Text Preprocessing, and Machine Learning Deployment using Streamlit.


🎯 Supported Emotions

Emotion Emoji
Joy 😊
Sadness 😢
Love ❤️
Anger 😠
Fear 😨
Surprise 😲

🖥️ Demo

Input

I am feeling very happy today!

Output

😊 Joy

✨ Features

✅ Real-time emotion prediction

✅ Interactive Streamlit UI

✅ Machine Learning Pipeline

✅ Text preprocessing & feature extraction

✅ Easy-to-use interface

✅ Beginner-friendly NLP project


🛠️ Tech Stack

Programming Language

  • 🐍 Python

Libraries & Frameworks

  • 📊 Pandas
  • 🔢 NumPy
  • 🤖 Scikit-Learn
  • 🎨 Streamlit
  • 📦 Pickle

📂 Project Structure

EmotionSense-AI/
│
├── app.py
├── centiment_analysis_model.pkl
├── train.txt
├── centiment_analysis1.ipynb
├── requirements.txt
└── README.md

⚙️ How It Works

Step 1️⃣

User enters a text statement.

Step 2️⃣

The text is transformed into numerical features using NLP techniques.

Step 3️⃣

The trained Machine Learning model processes the features.

Step 4️⃣

The model predicts the most likely emotion.

Step 5️⃣

The predicted emotion is displayed with an emoji.


📈 Machine Learning Workflow

Dataset
   ↓
Text Cleaning
   ↓
Feature Extraction
   ↓
Model Training
   ↓
Model Evaluation
   ↓
Model Deployment
   ↓
Streamlit Web App

🎓 Skills Demonstrated

  • Natural Language Processing (NLP)
  • Text Classification
  • Machine Learning
  • Model Serialization
  • Streamlit Deployment
  • Python Programming
  • Data Preprocessing

"Turning Human Emotions into Machine Understanding." 🎭✨

About

This is a Machine Learning-based Sentiment Analysis model that predicts the basic emotional sentiment of a given text. The model analyzes user input and classifies it into different sentiment categories based on the text content.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages