| import streamlit as st |
|
|
| |
| if 'page' not in st.session_state: |
| st.session_state.page = "home" |
|
|
| |
| if st.session_state.page == "home": |
| st.title(":red[Lifecycle of a Machine Learning Project]") |
| st.markdown("Click on a stage to learn more about it.") |
| |
| |
| if st.button(":blue[π Data Collection]"): |
| st.session_state.page = "data_collection" |
| |
| |
| if st.button(":blue[π Problem Statement]"): |
| st.markdown("### Problem Statement\nIdentify the problem you want to solve and set clear objectives and success criteria.") |
| if st.button(":blue[π οΈ Simple EDA]"): |
| st.markdown("### Simple EDA\nPerform exploratory data analysis to understand data distributions and relationships.") |
| if st.button(":blue[Data Pre-Processing]"): |
| st.markdown("### Data Pre-Processing\nHere we convert raw data into cleaned data.") |
| if st.button(":blue[π Exploratory Data Analysis (EDA)]"): |
| st.markdown("### Exploratory Data Analysis (EDA)\nVisualize and analyze the data to understand its distributions and relationships.") |
| if st.button(":blue[ποΈ Feature Engineering]"): |
| st.markdown("### Feature Engineering\nHere we can create our own new features.") |
| if st.button(":blue[Model Training]"): |
| st.markdown("### Model Training\nTrain the model using the training data and optimize its parameters.") |
| if st.button(":blue[π§ Model Testing]"): |
| st.markdown("### Model Testing\nAssess the model's performance using various metrics and cross-validation techniques.") |
| if st.button(":blue[π Model Deployment]"): |
| st.markdown("### Model Deployment\nIntegrate the trained model into a production environment and monitor its performance.") |
| if st.button(":blue[π Monitoring]"): |
| st.markdown("### Monitoring\nPeriodically retrain the model with new data and update features as needed.") |
|
|
| |
| elif st.session_state.page == "data_collection": |
| st.title("Data Collection") |
| st.markdown("### Data Collection\nThis page discusses the process of Data Collection.") |
| st.markdown("Types of Data: Structured, Unstructured, Semi-Structured") |
| |
| |
|
|
| |
| if st.button("Back to Home"): |
| st.session_state.page = "home" |
|
|