Spaces:
Runtime error
Runtime error
File size: 679 Bytes
223a0d1 e55cbec 223a0d1 e55cbec | 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.title("Customer Churn Classification")
st.sidebar.header("Final Project - Hacktiv8")
with st.sidebar:
st.write("Ediashta Revindra - FTDS-020")
selected = option_menu(
"Menu",
[
"Distribution",
"Classification",
"Cluster"
],
icons=["bar-chart", "link-45deg", "code-square"],
menu_icon="cast",
default_index=0,
)
if selected == "Distribution":
eda.distribution()
elif selected == "Classification":
prediction.predict()
elif selected == "Cluster":
prediction.cluster()
|