Spaces:
Sleeping
Sleeping
Update pages/Life_cycle_of_ML.py
Browse files- pages/Life_cycle_of_ML.py +27 -24
pages/Life_cycle_of_ML.py
CHANGED
@@ -21,7 +21,7 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
|
|
21 |
|
22 |
## Shapes Representing the ML Life Cycle
|
23 |
|
24 |
-
<svg width="800" height="
|
25 |
<!-- Problem Statement (Rectangle) -->
|
26 |
<rect x="50" y="50" width="150" height="50" fill="#FFB6C1" stroke="#000" />
|
27 |
<text x="125" y="80" fill="#000" font-size="14" text-anchor="middle">Problem Statement</text>
|
@@ -88,36 +88,39 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
|
|
88 |
<!-- Buttons below shapes -->
|
89 |
|
90 |
<!-- Problem Statement Button (Rectangle) -->
|
91 |
-
<button style="width: 150px; height: 50px; background-color: #FFB6C1; border: 1px solid #000; text-align: center;">Problem Statement</button>
|
92 |
|
93 |
<!-- Data Collection Button (Ellipse) -->
|
94 |
-
<button style="width: 160px; height: 80px; background-color: #ADD8E6; border-radius: 40px; border: 1px solid #000; text-align: center;">Data Collection</button>
|
95 |
|
96 |
<!-- Simple EDA Button (Ellipse) -->
|
97 |
-
<button style="width: 160px; height: 80px; background-color: #90EE90; border-radius: 40px; border: 1px solid #000; text-align: center;">Simple EDA</button>
|
98 |
|
99 |
-
<!--
|
100 |
-
<
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
<button style="width: 150px; height: 50px; background-color: #FF6347; border: 1px solid #000; text-align: center;">Training</button>
|
110 |
|
111 |
-
<!--
|
112 |
-
<button style="width: 80px; height: 80px; background-color: #
|
113 |
|
114 |
-
<!--
|
115 |
-
<button style="width: 160px; height: 80px; background-color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
-
<!--
|
118 |
-
<button style="width
|
119 |
-
"""
|
120 |
|
121 |
-
# Render HTML content in Streamlit
|
122 |
-
st.markdown(html_content, unsafe_allow_html=True)
|
123 |
|
|
|
21 |
|
22 |
## Shapes Representing the ML Life Cycle
|
23 |
|
24 |
+
<svg width="800" height="800">
|
25 |
<!-- Problem Statement (Rectangle) -->
|
26 |
<rect x="50" y="50" width="150" height="50" fill="#FFB6C1" stroke="#000" />
|
27 |
<text x="125" y="80" fill="#000" font-size="14" text-anchor="middle">Problem Statement</text>
|
|
|
88 |
<!-- Buttons below shapes -->
|
89 |
|
90 |
<!-- Problem Statement Button (Rectangle) -->
|
91 |
+
<button style="width: 150px; height: 50px; background-color: #FFB6C1; border: 1px solid #000; text-align: center; margin: 10px;">Problem Statement</button>
|
92 |
|
93 |
<!-- Data Collection Button (Ellipse) -->
|
94 |
+
<button style="width: 160px; height: 80px; background-color: #ADD8E6; border-radius: 40px; border: 1px solid #000; text-align: center; margin: 10px;">Data Collection</button>
|
95 |
|
96 |
<!-- Simple EDA Button (Ellipse) -->
|
97 |
+
<button style="width: 160px; height: 80px; background-color: #90EE90; border-radius: 40px; border: 1px solid #000; text-align: center; margin: 10px;">Simple EDA</button>
|
98 |
|
99 |
+
<!-- Arrows between Buttons -->
|
100 |
+
<svg width="800" height="300">
|
101 |
+
<!-- Arrow from Problem Statement to Data Collection -->
|
102 |
+
<line x1="200" y1="100" x2="260" y2="100" stroke="#000" marker-end="url(#arrow)" />
|
103 |
+
|
104 |
+
<!-- Arrow from Data Collection to Simple EDA -->
|
105 |
+
<line x1="380" y1="100" x2="460" y2="100" stroke="#000" marker-end="url(#arrow)" />
|
106 |
+
|
107 |
+
<!-- Data Preprocessing Button (Rectangle) -->
|
108 |
+
<button style="width: 150px; height: 50px; background-color: #FFD700; border: 1px solid #000; text-align: center; margin: 10px;">Data Preprocessing</button>
|
|
|
109 |
|
110 |
+
<!-- EDA Button (Circle) -->
|
111 |
+
<button style="width: 80px; height: 80px; background-color: #FF7F50; border-radius: 50%; border: 1px solid #000; text-align: center; margin: 10px;">EDA</button>
|
112 |
|
113 |
+
<!-- Feature Engineering Button (Ellipse) -->
|
114 |
+
<button style="width: 160px; height: 80px; background-color: #9370DB; border-radius: 40px; border: 1px solid #000; text-align: center; margin: 10px;">Feature Engineering</button>
|
115 |
+
|
116 |
+
<!-- Arrows between Data Preprocessing, EDA, and Feature Engineering -->
|
117 |
+
<line x1="125" y1="250" x2="260" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
118 |
+
<line x1="380" y1="225" x2="460" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
119 |
+
|
120 |
+
<!-- Training Button (Rectangle) -->
|
121 |
+
<button style="width: 150px; height: 50px; background-color: #FF6347; border: 1px solid #000; text-align: center; margin: 10px;">Training</button>
|
122 |
|
123 |
+
<!-- Testing Button (Circle) -->
|
124 |
+
<button style="width
|
|
|
125 |
|
|
|
|
|
126 |
|