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