Spaces:
Sleeping
Sleeping
Update pages/Life cycle of ML.py
Browse files- pages/Life cycle of ML.py +15 -0
pages/Life cycle of ML.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
| 3 |
if "current_page" not in st.session_state:
|
| 4 |
st.session_state.current_page = "home"
|
|
@@ -59,6 +60,20 @@ def add_custom_css():
|
|
| 59 |
}
|
| 60 |
</style>
|
| 61 |
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
def home_page():
|
| 64 |
st.title("π Machine Learning Lifecycle")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from graphviz import Digraph
|
| 3 |
|
| 4 |
if "current_page" not in st.session_state:
|
| 5 |
st.session_state.current_page = "home"
|
|
|
|
| 60 |
}
|
| 61 |
</style>
|
| 62 |
""", unsafe_allow_html=True)
|
| 63 |
+
|
| 64 |
+
graph = Digraph()
|
| 65 |
+
|
| 66 |
+
graph.edges([
|
| 67 |
+
("Problem Statement", "Data Collection"),
|
| 68 |
+
("Data Collection", "Simple EDA"),
|
| 69 |
+
("Simple EDA", "Data Pre-Processing"),
|
| 70 |
+
("Data Pre-Processing", "EDA"),
|
| 71 |
+
("EDA", "Feature Engineering"),
|
| 72 |
+
("Feature Engineering", "Model Training"),
|
| 73 |
+
("Model Training", "Testing"),
|
| 74 |
+
("Testing", "Deployement and maintenance"),
|
| 75 |
+
])
|
| 76 |
+
st.graphviz_chart(graph)
|
| 77 |
|
| 78 |
def home_page():
|
| 79 |
st.title("π Machine Learning Lifecycle")
|