-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
63 lines (60 loc) · 1.76 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Navigation
sidebar_options = {
"🏠 Home": 1,
"💰 Payments": 2,
"📊 Analytics": 3,
"📈 Dataset Analysis": 4,
"👥 Team": 5
}
# Team members data
team_members = [
{
"name": "Saransh Bansal",
"designation": "Development Manager, DXA Solutions",
"image_path": "https://github.com/saranshbansal/rtfd/blob/master/static/images/saransh.jpeg?raw=true"
},
{
"name": "Ankur Ray",
"designation": "Software Engineer, DXA Solutions",
"image_path": "https://github.com/saranshbansal/rtfd/blob/master/static/images/ankur.jpg?raw=true"
},
{
"name": "Malvika Sharma",
"designation": "Scrum Master, DXA Solutions",
"image_path": "https://github.com/saranshbansal/rtfd/blob/master/static/images/Malvika.jpg?raw=true"
},
{
"name": "Avnish Shukla",
"designation": "Data Engineer, DXA Solutions",
"image_path": "https://github.com/saranshbansal/rtfd/blob/master/static/images/Avnish.jpg?raw=true"
}
]
# Payment types
pt = ['Cash transfer (IN)', 'Cash transfer (OUT)', 'DEBIT', 'PAYMENT', 'TRANSFER']
# Models evaluation results
model_evaluations = [
{
"classifier": "Logistic Regression",
"train_accuracy": "0.9049",
"error_perc": "0.0073",
"test_accuracy": "0.9066"
},
{
"classifier": "Random Forest",
"train_accuracy": "0.9909",
"error_perc": "0.0020",
"test_accuracy": "0.9927"
},
{
"classifier": "XGBoost",
"train_accuracy": "0.9938",
"error_perc": "0.0016",
"test_accuracy": "0.9957"
},
{
"classifier": "Decision Tree",
"train_accuracy": "0.9890",
"error_perc": "0.0017",
"test_accuracy": "0.9918"
}
]