dnirfana commited on
Commit
28c51af
1 Parent(s): cd715c7

Upload 4 files

Browse files
Files changed (4) hide show
  1. app.py +14 -0
  2. eda.py +7 -0
  3. prediction.py +7 -0
  4. requirements.txt +5 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Contents of app.py
2
+ import eda
3
+ import prediction
4
+ import streamlit as st
5
+
6
+
7
+ PAGES = {
8
+ "Exploratory Data Analysis": eda,
9
+ "Make Predictions": prediction
10
+ }
11
+ st.sidebar.title('Navigation')
12
+ selection = st.sidebar.radio("Go to", list(PAGES.keys()))
13
+ page = PAGES[selection]
14
+ page.app()
eda.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+ import matplotlib.pyplot as plt
4
+ import seaborn as sns
5
+
6
+ def app():
7
+ st.title('Exploratory Data Analysis')
prediction.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+ import joblib
4
+ import json
5
+
6
+ def app():
7
+ st.title('Make Predictions')
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ sklearn-learn == 1.2.2
2
+ pandas
3
+ matplotlib
4
+ seaborn
5
+ joblib