Ediashta/HaiMeds_Churn_Prediction
01
1import streamlit as st2import eda3import prediction4from streamlit_option_menu import option_menu5 6 7st.sidebar.header("HaiMeds Customer Churn Prediction")8 9 10with st.sidebar:11 st.write("Ediashta Revindra - FTDS-020")12 selected = option_menu(13 "Menu",14 [15 "Distribution",16 "Correlation Matrix",17 "Regression",18 ],19 icons=["bar-chart", "link-45deg", "code-square"],20 menu_icon="cast",21 default_index=0,22 )23 24if selected == "Distribution":25 eda.distribution()26elif selected == "Correlation Matrix":27 eda.corr_matrix()28elif selected == "Regression":29 prediction.predict()30 