Skip to content

aragrishah/DoomSpend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ธ DoomSpend โ€” AI-Powered Expense Intelligence Dashboard

Turning messy transactions into clear financial decisions.


๐Ÿš€ Live Demo

๐Ÿ‘‰ https://doomspend.streamlit.app/


๐ŸŽฏ Why This Project Exists

Tracking expenses sounds simple โ€” until real life happens.

Transactions like:

  • โ€œzomato orderโ€
  • โ€œuber rideโ€
  • โ€œgpay to friendโ€

โ€ฆare messy, inconsistent, and hard to analyze.

โžก๏ธ Result:

  • No clarity
  • No patterns
  • No control over money

DoomSpend solves this by converting raw transaction text into meaningful financial insights.


๐Ÿง  What It Does

DoomSpend is an end-to-end ML-powered financial intelligence system that:

โœ” Understands raw transaction text โœ” Automatically classifies expenses โœ” Visualizes spending behavior โœ” Detects anomalies โœ” Suggests savings opportunities


โœจ Features

Feature Description
๐Ÿง  NLP Classification Predicts category from text input
๐Ÿ“Š Interactive Dashboard Real-time financial insights
๐Ÿ“ˆ Trend Analysis 7-day moving average visualization
โš ๏ธ Anomaly Detection Flags unusual transactions
๐Ÿ’ก AI Recommendations Suggests savings improvements (~โ‚น98K)
๐Ÿ’ฐ Cash Flow Analysis Income vs Spending visualization

๐Ÿงฉ System Architecture

User Input
   โ†“
Text Cleaning & Normalization
   โ†“
TF-IDF Vectorization (Bigrams)
   โ†“
Naive Bayes Model
   โ†“
Prediction
   โ†“
Streamlit Dashboard
   โ†“
Insights + Anomaly Detection + Recommendations

๐Ÿ“ธ Screenshots

๐Ÿ“Š Dashboard Overview

Dashboard

๐Ÿ“ˆ Spending Distribution

Distribution

๐Ÿ’ฐ Cash Flow Health

Cash Flow


๐Ÿ“Š Dataset

  • 1000+ transactions

  • Simulates real student financial behavior

  • Categories:

    • Food ๐Ÿ”
    • Travel ๐Ÿš—
    • Bills ๐Ÿ’ก
    • Shopping ๐Ÿ›๏ธ
    • Entertainment ๐ŸŽฌ
    • Income ๐Ÿ’ฐ
  • ๐Ÿ“… Time Range: Jan โ€“ May 2026

  • Includes noise, ambiguity, and real-world inconsistencies


๐Ÿงช Model & Approach

๐Ÿ”น Feature Engineering

  • TF-IDF with bigrams

  • Captures contextual meaning:

    • โ€œuber rideโ€ โ‰  โ€œuber eatsโ€

๐Ÿ”น Model

Multinomial Naive Bayes

  • Optimized for text classification
  • Efficient on sparse data
  • Fast and scalable

๐Ÿ‘‰ Also evaluated Logistic Regression as a baseline


๐Ÿ“ˆ Results

  • ๐ŸŽฏ Accuracy: ~85%
  • ๐Ÿ“Š Balanced performance across categories
  • ๐Ÿง  Handles noisy real-world inputs effectively

๐Ÿง  Key Insights

  • Travel & entertainment โ†’ highest spending drivers
  • Food โ†’ frequent but low-value transactions
  • Income โ†’ sparse but high-value

๐Ÿ’ก Potential savings improvement: ~โ‚น98K


โš ๏ธ Anomaly Detection

  • Flags transactions > 1.8ร— category average
  • Based on rolling 30-day behavior

๐Ÿ’ป Tech Stack

  • Python
  • Pandas, NumPy
  • Scikit-learn
  • Streamlit

โšก Run Locally

git clone https://github.com/your-username/DoomSpend.git
cd DoomSpend
pip install -r requirements.txt
streamlit run app.py

๐Ÿšง Limitations

  • Synthetic dataset
  • Limited vocabulary scope
  • No real banking integration

๐Ÿ”ฎ Future Improvements

  • BERT / Deep Learning models
  • Real-time transaction ingestion
  • Mobile/Web deployment
  • Personalized financial AI

๐Ÿ Final Thought

DoomSpend goes beyond expense tracking โ€” it transforms financial data into decision-making intelligence.


๐Ÿ‘ฉโ€๐Ÿ’ป Author

Riya Shah B.Tech Computer Engineering


โญ If you like this project

Give it a โญ on GitHub โ€” it helps a lot!

About

AI-powered expense intelligence dashboard using NLP & ML to classify transactions, detect anomalies, and generate actionable financial insights.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages