KrishnamohanYag commited on
Commit
fa2fb5c
·
verified ·
1 Parent(s): 567ded1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +170 -152
README.md CHANGED
@@ -1,152 +1,170 @@
1
- # Expense AI Intelligence System
2
-
3
- **Author:** Krishnamohan Yagneswaran
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- This project is a machine learning system that analyzes expense data and provides useful financial insights. It combines multiple models to predict spending, detect risk, classify transactions, and understand user behavior.
10
-
11
- The system is designed to work with real-world expense data and help users make better financial decisions.
12
-
13
- ---
14
-
15
- ## What This Model Does
16
-
17
- This system provides the following outputs:
18
-
19
- * Predicts how much money you may spend
20
- * Identifies if a transaction is high risk or low risk
21
- * Classifies the type of expense (food, travel, bills, etc.)
22
- * Groups spending behavior into clusters
23
- * Provides a simple financial decision suggestion
24
-
25
- ---
26
-
27
- ## About the `.pkl` Files
28
-
29
- All the `.pkl` files in this repository are **trained machine learning models and components**. These files are saved using `joblib` and allow the system to be reused without retraining.
30
-
31
- ### Files Explanation:
32
-
33
- * `spending_model.pkl`
34
- → Predicts future spending amount
35
-
36
- * `risk_model.pkl`
37
- → Classifies whether spending is HIGH or LOW risk
38
-
39
- * `nlp_model.pkl`
40
- → Predicts category from text input
41
-
42
- * `tfidf.pkl`
43
- → Converts text into numerical format for NLP
44
-
45
- * `kmeans.pkl`
46
- → Groups spending behavior into clusters
47
-
48
- * `feature_columns.pkl`
49
- → Stores the correct input structure used during training
50
-
51
- ---
52
-
53
- ## How to Use
54
-
55
- ### 1. Install Required Libraries
56
-
57
- ```bash
58
- pip install pandas numpy scikit-learn joblib
59
- ```
60
-
61
- ### 2. Load Models
62
-
63
- ```python
64
- import joblib
65
-
66
- spending_model = joblib.load("spending_model.pkl")
67
- risk_model = joblib.load("risk_model.pkl")
68
- nlp_model = joblib.load("nlp_model.pkl")
69
- vectorizer = joblib.load("tfidf.pkl")
70
- kmeans = joblib.load("kmeans.pkl")
71
- ```
72
-
73
- ### 3. Example Input
74
-
75
- ```python
76
- input_data = {
77
- "weekday": 2,
78
- "rolling_avg": 500
79
- }
80
- ```
81
-
82
- ### 4. Predict
83
-
84
- ```python
85
- prediction = spending_model.predict([list(input_data.values())])
86
- print(prediction)
87
- ```
88
-
89
- ---
90
-
91
- ## System Features
92
-
93
- * Uses multiple machine learning models together
94
- * Works with structured CSV expense data
95
- * Includes NLP for text-based classification
96
- * Uses clustering for behavior analysis
97
- * Provides decision-making suggestions
98
-
99
- ---
100
-
101
- ## Use Cases
102
-
103
- * Personal finance tracking
104
- * Budget planning
105
- * Expense monitoring applications
106
- * Financial analytics systems
107
- * Academic and learning projects
108
-
109
- ---
110
-
111
- ## License
112
-
113
- This project is licensed under the **MIT License**.
114
-
115
- You are free to:
116
-
117
- * Use
118
- * Modify
119
- * Distribute
120
- * Use commercially
121
-
122
- As long as the original license and author credit are included.
123
-
124
- ---
125
-
126
- ## Credits
127
-
128
- If you use this project in your work, research, application, or product, it would be appreciated if you provide credit:
129
-
130
- **Krishnamohan Yagneswaran**
131
-
132
- This helps support further development and recognition of the project.
133
-
134
- ---
135
-
136
- ## Future Improvements
137
-
138
- * Web application interface
139
- * Mobile application integration
140
- * API deployment
141
- * Real-time analytics
142
-
143
- ---
144
-
145
- ## Conclusion
146
-
147
- This project demonstrates how multiple machine learning techniques can be combined into a single intelligent system. It is simple, practical, and scalable for real-world applications.
148
-
149
- ---
150
-
151
- **Created by:**
152
- Krishnamohan Yagneswaran
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ metrics:
6
+ - mae
7
+ - recall
8
+ base_model:
9
+ - risingodegua/scikit-learn-models
10
+ tags:
11
+ - machine-learning
12
+ - finance
13
+ - expense-prediction
14
+ - tabular-data
15
+ - nlp
16
+ - clustering
17
+ - ai-system
18
+ ---
19
+ # Expense AI Intelligence System
20
+
21
+ **Author:** Krishnamohan Yagneswaran
22
+
23
+ ---
24
+
25
+ ## Overview
26
+
27
+ This project is a machine learning system that analyzes expense data and provides useful financial insights. It combines multiple models to predict spending, detect risk, classify transactions, and understand user behavior.
28
+
29
+ The system is designed to work with real-world expense data and help users make better financial decisions.
30
+
31
+ ---
32
+
33
+ ## What This Model Does
34
+
35
+ This system provides the following outputs:
36
+
37
+ * Predicts how much money you may spend
38
+ * Identifies if a transaction is high risk or low risk
39
+ * Classifies the type of expense (food, travel, bills, etc.)
40
+ * Groups spending behavior into clusters
41
+ * Provides a simple financial decision suggestion
42
+
43
+ ---
44
+
45
+ ## About the `.pkl` Files
46
+
47
+ All the `.pkl` files in this repository are **trained machine learning models and components**. These files are saved using `joblib` and allow the system to be reused without retraining.
48
+
49
+ ### Files Explanation:
50
+
51
+ * `spending_model.pkl`
52
+ → Predicts future spending amount
53
+
54
+ * `risk_model.pkl`
55
+ → Classifies whether spending is HIGH or LOW risk
56
+
57
+ * `nlp_model.pkl`
58
+ → Predicts category from text input
59
+
60
+ * `tfidf.pkl`
61
+ → Converts text into numerical format for NLP
62
+
63
+ * `kmeans.pkl`
64
+ → Groups spending behavior into clusters
65
+
66
+ * `feature_columns.pkl`
67
+ → Stores the correct input structure used during training
68
+
69
+ ---
70
+
71
+ ## How to Use
72
+
73
+ ### 1. Install Required Libraries
74
+
75
+ ```bash
76
+ pip install pandas numpy scikit-learn joblib
77
+ ```
78
+
79
+ ### 2. Load Models
80
+
81
+ ```python
82
+ import joblib
83
+
84
+ spending_model = joblib.load("spending_model.pkl")
85
+ risk_model = joblib.load("risk_model.pkl")
86
+ nlp_model = joblib.load("nlp_model.pkl")
87
+ vectorizer = joblib.load("tfidf.pkl")
88
+ kmeans = joblib.load("kmeans.pkl")
89
+ ```
90
+
91
+ ### 3. Example Input
92
+
93
+ ```python
94
+ input_data = {
95
+ "weekday": 2,
96
+ "rolling_avg": 500
97
+ }
98
+ ```
99
+
100
+ ### 4. Predict
101
+
102
+ ```python
103
+ prediction = spending_model.predict([list(input_data.values())])
104
+ print(prediction)
105
+ ```
106
+
107
+ ---
108
+
109
+ ## System Features
110
+
111
+ * Uses multiple machine learning models together
112
+ * Works with structured CSV expense data
113
+ * Includes NLP for text-based classification
114
+ * Uses clustering for behavior analysis
115
+ * Provides decision-making suggestions
116
+
117
+ ---
118
+
119
+ ## Use Cases
120
+
121
+ * Personal finance tracking
122
+ * Budget planning
123
+ * Expense monitoring applications
124
+ * Financial analytics systems
125
+ * Academic and learning projects
126
+
127
+ ---
128
+
129
+ ## License
130
+
131
+ This project is licensed under the **MIT License**.
132
+
133
+ You are free to:
134
+
135
+ * Use
136
+ * Modify
137
+ * Distribute
138
+ * Use commercially
139
+
140
+ As long as the original license and author credit are included.
141
+
142
+ ---
143
+
144
+ ## Credits
145
+
146
+ If you use this project in your work, research, application, or product, it would be appreciated if you provide credit:
147
+
148
+ **Krishnamohan Yagneswaran**
149
+
150
+ This helps support further development and recognition of the project.
151
+
152
+ ---
153
+
154
+ ## Future Improvements
155
+
156
+ * Web application interface
157
+ * Mobile application integration
158
+ * API deployment
159
+ * Real-time analytics
160
+
161
+ ---
162
+
163
+ ## Conclusion
164
+
165
+ This project demonstrates how multiple machine learning techniques can be combined into a single intelligent system. It is simple, practical, and scalable for real-world applications.
166
+
167
+ ---
168
+
169
+ **Created by:**
170
+ Krishnamohan Yagneswaran