|
import streamlit as st |
|
from utilities.standard_template import Page, get_info |
|
from utilities.land import land_page |
|
import analysis.preprocessing |
|
import analysis.exploration |
|
import warnings |
|
|
|
import algos.others.others_page |
|
|
|
warnings.filterwarnings("ignore") |
|
|
|
|
|
|
|
st.set_page_config(layout="wide",page_title='AIViz',page_icon='carott.png') |
|
hide_streamlit_style = """ |
|
<style> |
|
#MainMenu {visibility: hidden;} |
|
footer {visibility: hidden;} |
|
</style> |
|
""" |
|
|
|
|
|
with st.sidebar: |
|
|
|
choice = st.selectbox('Choose Algorithm Category',[ |
|
" --- Choose --- ", |
|
"Clustering", |
|
"Classification", |
|
"Regression", |
|
"Data Exploration", |
|
"Data Preprocessing", |
|
|
|
]) |
|
get_info(choice) |
|
|
|
if choice in ['Clustering', 'Classification', 'Regression']: |
|
Page(choice).render() |
|
|
|
elif choice == 'Data Preprocessing': |
|
analysis.preprocessing.render() |
|
|
|
elif choice == 'Data Exploration': |
|
analysis.exploration.render() |
|
|
|
elif choice == 'Others': |
|
algos.others.others_page.render() |
|
|
|
else: |
|
land_page() |