Sathwikchowdary commited on
Commit
5a8a81f
·
verified ·
1 Parent(s): 80c197f

Update pages/Life_cycle_of_ML.py

Browse files
Files changed (1) hide show
  1. pages/Life_cycle_of_ML.py +20 -39
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="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,56 +88,37 @@ 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; 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: 80px; height: 80px; background-color: #98FB98; border-radius: 50%; border: 1px solid #000; text-align: center; margin: 10px;">Testing</button>
125
 
126
- <!-- Deploying Button (Ellipse) -->
127
- <button style="width: 160px; height: 80px; background-color: #F0E68C; border-radius: 40px; border: 1px solid #000; text-align: center; margin: 10px;">Deploying</button>
128
 
129
- <!-- Arrows between Training, Testing, and Deploying -->
130
- <line x1="125" y1="400" x2="260" y2="375" stroke="#000" marker-end="url(#arrow)" />
131
- <line x1="380" y1="375" x2="460" y2="375" stroke="#000" marker-end="url(#arrow)" />
132
-
133
- <!-- Monitoring Button (Rectangle) -->
134
- <button style="width: 150px; height: 50px; background-color: #B0E0E6; border: 1px solid #000; text-align: center; margin: 10px;">Monitoring</button>
135
 
136
- <!-- Arrow from Deploying to Monitoring -->
137
- <line x1="580" y1="375" x2="325" y2="500" stroke="#000" marker-end="url(#arrow)" />
138
- </svg>
139
 
 
 
140
  """
141
 
142
  # Render HTML content in Streamlit
143
  st.markdown(html_content, unsafe_allow_html=True)
 
 
21
 
22
  ## Shapes Representing the ML Life Cycle
23
 
24
+ <svg width="800" height="600">
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;">Problem Statement</button>
92
+ <st.write("Understanding the problem and setting objectives for the ML model.")>
93
 
94
  <!-- Data Collection Button (Ellipse) -->
95
+ <button style="width: 160px; height: 80px; background-color: #ADD8E6; border-radius: 40px; border: 1px solid #000; text-align: center;">Data Collection</button>
96
 
97
  <!-- Simple EDA Button (Ellipse) -->
98
+ <button style="width: 160px; height: 80px; background-color: #90EE90; border-radius: 40px; border: 1px solid #000; text-align: center;">Simple EDA</button>
99
 
100
+ <!-- Data Preprocessing Button (Rectangle) -->
101
+ <button style="width: 150px; height: 50px; background-color: #FFD700; border: 1px solid #000; text-align: center;">Data Preprocessing</button>
 
 
 
 
 
 
 
 
102
 
103
+ <!-- EDA Button (Circle) -->
104
+ <button style="width: 80px; height: 80px; background-color: #FF7F50; border-radius: 50%; border: 1px solid #000; text-align: center;">EDA</button>
 
 
 
 
 
 
 
 
 
 
105
 
106
+ <!-- Feature Engineering Button (Ellipse) -->
107
+ <button style="width: 160px; height: 80px; background-color: #9370DB; border-radius: 40px; border: 1px solid #000; text-align: center;">Feature Engineering</button>
108
 
109
+ <!-- Training Button (Rectangle) -->
110
+ <button style="width: 150px; height: 50px; background-color: #FF6347; border: 1px solid #000; text-align: center;">Training</button>
111
 
112
+ <!-- Testing Button (Circle) -->
113
+ <button style="width: 80px; height: 80px; background-color: #98FB98; border-radius: 50%; border: 1px solid #000; text-align: center;">Testing</button>
 
 
 
 
114
 
115
+ <!-- Deploying Button (Ellipse) -->
116
+ <button style="width: 160px; height: 80px; background-color: #F0E68C; border-radius: 40px; border: 1px solid #000; text-align: center;">Deploying</button>
 
117
 
118
+ <!-- Monitoring Button (Rectangle) -->
119
+ <button style="width: 150px; height: 50px; background-color: #B0E0E6; border: 1px solid #000; text-align: center;">Monitoring</button>
120
  """
121
 
122
  # Render HTML content in Streamlit
123
  st.markdown(html_content, unsafe_allow_html=True)
124
+