Skip to content

Latest commit

 

History

History
98 lines (64 loc) · 3.76 KB

File metadata and controls

98 lines (64 loc) · 3.76 KB

Personal Finance Tracker with AI Insights

Track your daily expenses from the command line using C++ with built-in AI insights, and visualize monthly spending through an interactive Python dashboard.

📌 Features

🖥️ C++ CLI Application

  • Add expenses with date, category, amount, and monthly budget
  • View all expenses
  • Filter by category
  • View total spending vs. budget
  • Delete incorrect entries
  • Stores data in expenses.csv (CSV format)

🤖 AI-Powered Analytics (C++ - from scratch)

  • 📈 Linear Regression – Predict next month's expense based on past spending
  • 📊 K-Means Clustering – Classify your spending behavior as Frugal, Balanced, or Overspender
  • 🧠 Naive Bayes Classifier – Predict the most likely category for a new expense based on amount
  • 📉 Statistical Summary – Calculate and display mean, variance, and standard deviation of expenses
  • 📂 Category Probability Distribution – Visualize how frequently each category is used

📊 Python Dashboard

  • Reads data from the CSV file
  • Displays interactive bar and pie charts using Dash & Plotly
  • Launches a local server (localhost:8050) for real-time insights

📁 Project Structure

ExpenseTracker/
│
├── cpp/
│   └── expense_entry.cpp       # C++ source file (main CLI logic)
│
├── python/
│   └── dashboard.py               # Dash dashboard for visualization
│
├── data/
│   └── expenses.csv               # CSV file storing expenses

📸 CLI Working Screenshots

image

➕ Add Expense

image

📋 View All Expenses

image

🧾 Spending Summary

image

🔍 Filter By Category

image

❌ Delete Expenses

image

🔍 Predict Next Month Expenses (AI Analytics)

image

📊 Show Category Probabilities (AI Analytics)

image

📈 Show Expense Statistics (AI Analytics)

image

🤖 Classify Spending Habit (AI Analytics)

image

🧠 Predict Category using Naive Bayes

image

❌ Exit

image

📊 Dashboard Preview

🖥️ Preview for April-25

image

🖥️ Preview for May-25

image

🖥️ Preview for June-25

image