weewoo2636
commited on
Commit
•
c3543ba
1
Parent(s):
046488d
Upload 5 files
Browse files- P1G5_Set_1_wilson.csv +0 -0
- app.py +19 -0
- eda.py +13 -0
- model.pkl +3 -0
- prediction.py +7 -0
P1G5_Set_1_wilson.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
app.py
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# import libraries
|
2 |
+
import streamlit as st
|
3 |
+
import numpy as np
|
4 |
+
import pandas as pd
|
5 |
+
|
6 |
+
# import modules
|
7 |
+
import eda
|
8 |
+
import prediction
|
9 |
+
|
10 |
+
|
11 |
+
PAGES = {
|
12 |
+
"EDA": eda,
|
13 |
+
"Prediction": prediction
|
14 |
+
}
|
15 |
+
|
16 |
+
st.sidebar.title('Navigation')
|
17 |
+
selection = st.sidebar.radio("Go to", list(PAGES.keys()))
|
18 |
+
page = PAGES[selection]
|
19 |
+
page.app()
|
eda.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# import libraries
|
2 |
+
import streamlit as st
|
3 |
+
import numpy as np
|
4 |
+
import pandas as pd
|
5 |
+
import matplotlib.pyplot as plt
|
6 |
+
import seaborn as sns
|
7 |
+
|
8 |
+
def app():
|
9 |
+
st.title('Exploratory Data Analysis')
|
10 |
+
|
11 |
+
df = pd.read_csv('P1G5_Set_1_wilson.csv')
|
12 |
+
|
13 |
+
st.write(df)
|
model.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ab086f63a4e22723c68e048998120b499d450a3ee18d349dccc1020856928b0
|
3 |
+
size 132719
|
prediction.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# import libraries
|
2 |
+
import streamlit as st
|
3 |
+
import numpy as np
|
4 |
+
import pandas as pd
|
5 |
+
|
6 |
+
def app():
|
7 |
+
st.title('Prediction for Default Payment on the Next Month')
|