File size: 659 Bytes
ba27b3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import streamlit as st
import eda
import prediction
from streamlit_option_menu import option_menu


st.sidebar.header("HaiMeds Customer Churn Prediction")


with st.sidebar:
    st.write("Ediashta Revindra - FTDS-020")
    selected = option_menu(
        "Menu",
        [
            "Distribution",
            "Correlation Matrix",
            "Regression",
        ],
        icons=["bar-chart", "link-45deg", "code-square"],
        menu_icon="cast",
        default_index=0,
    )

if selected == "Distribution":
    eda.distribution()
elif selected == "Correlation Matrix":
    eda.corr_matrix()
elif selected == "Regression":
    prediction.predict()