Deployment / app.py
grcvlrn's picture
Update app.py
5cb24b1 verified
Raw History Blame Contribute Delete
797 Bytes
import streamlit as st
import eda
import prediction
page = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Exploration Data Analysis', 'Prediction'])
if page == 'Home Page':
st.header('Welcome Page')
st.write('')
st.write('Graded Challenge 5: Default Payment Analysis')
st.write('Nama : Gracia')
st.write('Batch : HCK-017')
st.write('')
st.caption('Please pick the menu options!')
st.write('')
st.write('')
with st.expander("Reason for Model"):
st.caption('In the end, for a data to find the default payment of a credit card using the logistic regression model is the best way, with the parameters of "C": 1, "solver": "newton-cg".')
elif page == 'Exploration Data Analysis':
eda.run()
else:
prediction.run()