LakshmiHarika commited on
Commit
b79411e
·
verified ·
1 Parent(s): 3f333d9

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -28,70 +28,54 @@ st.markdown("""
28
  margin-bottom: 30px;
29
  color: #333333;
30
  }
31
- .circle-container {
32
- display: flex;
33
- justify-content: center;
34
- align-items: center;
35
- margin-top: 50px;
36
- }
37
- .circle {
38
- position: relative;
39
- width: 1100px;
40
- height: 1100px;
41
- border-radius: 50%;
42
- display: flex;
43
- justify-content: center;
44
- align-items: center;
45
- background: transparent; /* Removed white background */
46
- box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
47
- }
48
- .circle h2 {
49
  position: absolute;
 
 
 
50
  font-size: 32px;
51
  color: #BB3385;
52
  font-weight: bold;
53
  text-align: center;
54
  }
55
- .steps {
56
- position: absolute;
57
- width: 100%;
58
- height: 100%;
59
  display: flex;
 
60
  justify-content: center;
61
- align-items: center;
62
  }
63
  .step {
64
- position: absolute;
65
- width: 200px; /* Increased size */
66
- height: 80px; /* Increased size */
67
- font-size: 18px; /* Increased font size */
68
  color: black;
69
  border-radius: 40px;
70
  display: flex;
71
  justify-content: center;
72
  align-items: center;
73
  text-align: center;
74
- transform-origin: 50% 50%;
75
  font-weight: bold;
 
76
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
77
  }
78
- #step1 { transform: rotate(0deg) translateX(320px) rotate(-0deg); background-color: #FFCCCB; } /* Light Red */
79
- #step2 { transform: rotate(36deg) translateX(320px) rotate(-36deg); background-color: #FFD700; } /* Gold */
80
- #step3 { transform: rotate(72deg) translateX(320px) rotate(-72deg); background-color: #90EE90; } /* Light Green */
81
- #step4 { transform: rotate(108deg) translateX(320px) rotate(-108deg); background-color: #ADD8E6; } /* Light Blue */
82
- #step5 { transform: rotate(144deg) translateX(320px) rotate(-144deg); background-color: #FFB6C1; } /* Light Pink */
83
- #step6 { transform: rotate(180deg) translateX(320px) rotate(-180deg); background-color: #FFA07A; } /* Light Salmon */
84
- #step7 { transform: rotate(216deg) translateX(320px) rotate(-216deg); background-color: #D8BFD8; } /* Thistle */
85
- #step8 { transform: rotate(252deg) translateX(320px) rotate(-252deg); background-color: #FFFFE0; } /* Light Yellow */
86
- #step9 { transform: rotate(288deg) translateX(320px) rotate(-288deg); background-color: #E0FFFF; } /* Light Cyan */
87
- #step10 { transform: rotate(324deg) translateX(320px) rotate(-324deg); background-color: #F5DEB3; } /* Wheat */
88
  </style>
89
  """, unsafe_allow_html=True)
90
 
91
  # Render the title
92
  st.markdown('<h1>Life Cycle of End-to-End ML Project</h1>', unsafe_allow_html=True)
93
 
94
- # Add the description above the circular layout
95
  st.markdown(
96
  """
97
  <div class="description">
@@ -107,26 +91,24 @@ st.markdown(
107
  unsafe_allow_html=True,
108
  )
109
 
110
- # Render the circular layout
 
 
 
111
  st.markdown(
112
  """
113
- <div class="circle-container">
114
- <div class="circle">
115
- <h2>Machine Learning</h2>
116
- <div class="steps">
117
- <div class="step" id="step1">1. Problem Statement</div>
118
- <div class="step" id="step2">2. Data Collection</div>
119
- <div class="step" id="step3">3. Simple EDA</div>
120
- <div class="step" id="step4">4. Data Preprocessing</div>
121
- <div class="step" id="step5">5. EDA</div>
122
- <div class="step" id="step6">6. Feature Engineering</div>
123
- <div class="step" id="step7">7. Model Training</div>
124
- <div class="step" id="step8">8. Model Testing</div>
125
- <div class="step" id="step9">9. Model Deployment</div>
126
- <div class="step" id="step10">10. Monitoring</div>
127
- </div>
128
- </div>
129
  </div>
130
  """,
131
  unsafe_allow_html=True
132
- )
 
28
  margin-bottom: 30px;
29
  color: #333333;
30
  }
31
+ .centered-text {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  position: absolute;
33
+ top: 50%;
34
+ left: 50%;
35
+ transform: translate(-50%, -50%);
36
  font-size: 32px;
37
  color: #BB3385;
38
  font-weight: bold;
39
  text-align: center;
40
  }
41
+ .steps-container {
 
 
 
42
  display: flex;
43
+ flex-wrap: wrap;
44
  justify-content: center;
45
+ margin-top: 40px;
46
  }
47
  .step {
48
+ width: 200px;
49
+ height: 80px;
50
+ margin: 10px;
51
+ font-size: 18px;
52
  color: black;
53
  border-radius: 40px;
54
  display: flex;
55
  justify-content: center;
56
  align-items: center;
57
  text-align: center;
 
58
  font-weight: bold;
59
+ background-color: rgba(255, 255, 255, 0.8);
60
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
61
  }
62
+ .step:nth-child(1) { background-color: #FFCCCB; } /* Light Red */
63
+ .step:nth-child(2) { background-color: #FFD700; } /* Gold */
64
+ .step:nth-child(3) { background-color: #90EE90; } /* Light Green */
65
+ .step:nth-child(4) { background-color: #ADD8E6; } /* Light Blue */
66
+ .step:nth-child(5) { background-color: #FFB6C1; } /* Light Pink */
67
+ .step:nth-child(6) { background-color: #FFA07A; } /* Light Salmon */
68
+ .step:nth-child(7) { background-color: #D8BFD8; } /* Thistle */
69
+ .step:nth-child(8) { background-color: #FFFFE0; } /* Light Yellow */
70
+ .step:nth-child(9) { background-color: #E0FFFF; } /* Light Cyan */
71
+ .step:nth-child(10) { background-color: #F5DEB3; } /* Wheat */
72
  </style>
73
  """, unsafe_allow_html=True)
74
 
75
  # Render the title
76
  st.markdown('<h1>Life Cycle of End-to-End ML Project</h1>', unsafe_allow_html=True)
77
 
78
+ # Add the description above the layout
79
  st.markdown(
80
  """
81
  <div class="description">
 
91
  unsafe_allow_html=True,
92
  )
93
 
94
+ # Render the centered text
95
+ st.markdown('<div class="centered-text">Machine Learning</div>', unsafe_allow_html=True)
96
+
97
+ # Render the steps layout
98
  st.markdown(
99
  """
100
+ <div class="steps-container">
101
+ <div class="step">1. Problem Statement</div>
102
+ <div class="step">2. Data Collection</div>
103
+ <div class="step">3. Simple EDA</div>
104
+ <div class="step">4. Data Preprocessing</div>
105
+ <div class="step">5. EDA</div>
106
+ <div class="step">6. Feature Engineering</div>
107
+ <div class="step">7. Model Training</div>
108
+ <div class="step">8. Model Testing</div>
109
+ <div class="step">9. Model Deployment</div>
110
+ <div class="step">10. Monitoring</div>
 
 
 
 
 
111
  </div>
112
  """,
113
  unsafe_allow_html=True
114
+ )