Sathwikchowdary commited on
Commit
840311d
·
verified ·
1 Parent(s): 742a900

Update pages/Life_cycle_of_ML.py

Browse files
Files changed (1) hide show
  1. pages/Life_cycle_of_ML.py +10 -11
pages/Life_cycle_of_ML.py CHANGED
@@ -24,15 +24,15 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
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="75" y="80" fill="centre" font-size="14">Problem Statement</text>
28
 
29
  <!-- Data Collection (Circle) -->
30
  <circle cx="300" cy="75" r="40" fill="#ADD8E6" stroke="#000" />
31
- <text x="270" y="80" fill="#000" font-size="14">Data Collection</text>
32
 
33
  <!-- Simple EDA (Ellipse) -->
34
  <ellipse cx="500" cy="75" rx="80" ry="40" fill="#90EE90" stroke="#000" />
35
- <text x="445" y="80" fill="#000" font-size="14">Simple EDA</text>
36
 
37
  <!-- Arrows between Problem Statement, Data Collection, and Simple EDA -->
38
  <line x1="200" y1="75" x2="260" y2="75" stroke="#000" marker-end="url(#arrow)" />
@@ -40,15 +40,15 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
40
 
41
  <!-- Data Preprocessing (Rectangle) -->
42
  <rect x="50" y="200" width="150" height="50" fill="#FFD700" stroke="#000" />
43
- <text x="75" y="230" fill="#000" font-size="14">Data Preprocessing</text>
44
 
45
  <!-- EDA (Circle) -->
46
  <circle cx="300" cy="225" r="40" fill="#FF7F50" stroke="#000" />
47
- <text x="275" y="230" fill="#000" font-size="14">EDA</text>
48
 
49
  <!-- Feature Engineering (Ellipse) -->
50
  <ellipse cx="500" cy="225" rx="80" ry="40" fill="#9370DB" stroke="#000" />
51
- <text x="445" y="230" fill="#000" font-size="14">Feature Engineering</text>
52
 
53
  <!-- Arrows between Data Preprocessing, EDA, and Feature Engineering -->
54
  <line x1="125" y1="250" x2="260" y2="225" stroke="#000" marker-end="url(#arrow)" />
@@ -56,15 +56,15 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
56
 
57
  <!-- Training (Rectangle) -->
58
  <rect x="50" y="350" width="150" height="50" fill="#FF6347" stroke="#000" />
59
- <text x="75" y="380" fill="#000" font-size="14">Training</text>
60
 
61
  <!-- Testing (Circle) -->
62
  <circle cx="300" cy="375" r="40" fill="#98FB98" stroke="#000" />
63
- <text x="275" y="380" fill="#000" font-size="14">Testing</text>
64
 
65
  <!-- Deploying (Ellipse) -->
66
  <ellipse cx="500" cy="375" rx="80" ry="40" fill="#F0E68C" stroke="#000" />
67
- <text x="445" y="380" fill="#000" font-size="14">Deploying</text>
68
 
69
  <!-- Arrows between Training, Testing, and Deploying -->
70
  <line x1="125" y1="400" x2="260" y2="375" stroke="#000" marker-end="url(#arrow)" />
@@ -72,7 +72,7 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
72
 
73
  <!-- Monitoring (Rectangle) -->
74
  <rect x="250" y="500" width="150" height="50" fill="#B0E0E6" stroke="#000" />
75
- <text x="275" y="530" fill="#000" font-size="14">Monitoring</text>
76
 
77
  <!-- Arrow from Deploying to Monitoring -->
78
  <line x1="580" y1="375" x2="325" y2="500" stroke="#000" marker-end="url(#arrow)" />
@@ -88,4 +88,3 @@ The life cycle of Machine Learning (ML) involves several stages, from defining t
88
 
89
  # Render HTML content in Streamlit
90
  st.markdown(html_content, unsafe_allow_html=True)
91
-
 
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>
28
 
29
  <!-- Data Collection (Circle) -->
30
  <circle cx="300" cy="75" r="40" fill="#ADD8E6" stroke="#000" />
31
+ <text x="300" y="80" fill="#000" font-size="14" text-anchor="middle">Data Collection</text>
32
 
33
  <!-- Simple EDA (Ellipse) -->
34
  <ellipse cx="500" cy="75" rx="80" ry="40" fill="#90EE90" stroke="#000" />
35
+ <text x="500" y="80" fill="#000" font-size="14" text-anchor="middle">Simple EDA</text>
36
 
37
  <!-- Arrows between Problem Statement, Data Collection, and Simple EDA -->
38
  <line x1="200" y1="75" x2="260" y2="75" stroke="#000" marker-end="url(#arrow)" />
 
40
 
41
  <!-- Data Preprocessing (Rectangle) -->
42
  <rect x="50" y="200" width="150" height="50" fill="#FFD700" stroke="#000" />
43
+ <text x="125" y="230" fill="#000" font-size="14" text-anchor="middle">Data Preprocessing</text>
44
 
45
  <!-- EDA (Circle) -->
46
  <circle cx="300" cy="225" r="40" fill="#FF7F50" stroke="#000" />
47
+ <text x="300" y="230" fill="#000" font-size="14" text-anchor="middle">EDA</text>
48
 
49
  <!-- Feature Engineering (Ellipse) -->
50
  <ellipse cx="500" cy="225" rx="80" ry="40" fill="#9370DB" stroke="#000" />
51
+ <text x="500" y="230" fill="#000" font-size="14" text-anchor="middle">Feature Engineering</text>
52
 
53
  <!-- Arrows between Data Preprocessing, EDA, and Feature Engineering -->
54
  <line x1="125" y1="250" x2="260" y2="225" stroke="#000" marker-end="url(#arrow)" />
 
56
 
57
  <!-- Training (Rectangle) -->
58
  <rect x="50" y="350" width="150" height="50" fill="#FF6347" stroke="#000" />
59
+ <text x="125" y="380" fill="#000" font-size="14" text-anchor="middle">Training</text>
60
 
61
  <!-- Testing (Circle) -->
62
  <circle cx="300" cy="375" r="40" fill="#98FB98" stroke="#000" />
63
+ <text x="300" y="380" fill="#000" font-size="14" text-anchor="middle">Testing</text>
64
 
65
  <!-- Deploying (Ellipse) -->
66
  <ellipse cx="500" cy="375" rx="80" ry="40" fill="#F0E68C" stroke="#000" />
67
+ <text x="500" y="380" fill="#000" font-size="14" text-anchor="middle">Deploying</text>
68
 
69
  <!-- Arrows between Training, Testing, and Deploying -->
70
  <line x1="125" y1="400" x2="260" y2="375" stroke="#000" marker-end="url(#arrow)" />
 
72
 
73
  <!-- Monitoring (Rectangle) -->
74
  <rect x="250" y="500" width="150" height="50" fill="#B0E0E6" stroke="#000" />
75
+ <text x="325" y="530" fill="#000" font-size="14" text-anchor="middle">Monitoring</text>
76
 
77
  <!-- Arrow from Deploying to Monitoring -->
78
  <line x1="580" y1="375" x2="325" y2="500" stroke="#000" marker-end="url(#arrow)" />
 
88
 
89
  # Render HTML content in Streamlit
90
  st.markdown(html_content, unsafe_allow_html=True)