LakshmiHarika commited on
Commit
85f2656
·
verified ·
1 Parent(s): cc2d266

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

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -24,6 +24,7 @@ st.markdown("""
24
  }
25
  .description {
26
  margin: 0px; /* Removed all margins for tighter spacing */
 
27
  }
28
  .circle-container {
29
  display: flex;
@@ -33,8 +34,8 @@ st.markdown("""
33
  }
34
  .circle {
35
  position: relative;
36
- width: 1200px; /* Increased circle size */
37
- height: 1200px;
38
  border-radius: 50%;
39
  display: flex;
40
  justify-content: center;
@@ -50,11 +51,11 @@ st.markdown("""
50
  }
51
  .step {
52
  position: absolute;
53
- width: 160px;
54
  height: 60px;
55
  font-size: 16px;
56
- background-color: #007bff;
57
- color: white;
58
  border-radius: 30px;
59
  display: flex;
60
  justify-content: center;
@@ -63,9 +64,11 @@ st.markdown("""
63
  cursor: pointer;
64
  transform-origin: 50% 50%;
65
  transition: transform 0.3s ease, background-color 0.3s ease;
 
 
66
  }
67
  .step:hover {
68
- background-color: #0056b3;
69
  }
70
  #step1 { transform: rotate(0deg) translateX(320px) rotate(-0deg); }
71
  #step2 { transform: rotate(36deg) translateX(320px) rotate(-36deg); }
@@ -102,16 +105,16 @@ html_code = """
102
  <div class="circle-container">
103
  <div class="circle">
104
  <div class="steps">
105
- <div class="step" id="step1"><a href="/?page=SimpleEDA" style="color:white; text-decoration:none;">Problem Statement</a></div>
106
- <div class="step" id="step2"><a href="/?page=DataPreprocessing" style="color:white; text-decoration:none;">Data Collection</a></div>
107
- <div class="step" id="step3"><a href="/?page=EDA" style="color:white; text-decoration:none;">Simple EDA</a></div>
108
- <div class="step" id="step4"><a href="/?page=Feature Engineering" style="color:white; text-decoration:none;">Data Preprocessing</a></div>
109
- <div class="step" id="step5"><a href="/?page=Model Training" style="color:white; text-decoration:none;">EDA</a></div>
110
- <div class="step" id="step6"><a href="/?page=Model Testing" style="color:white; text-decoration:none;">Feature Engineering</a></div>
111
- <div class="step" id="step7"><a href="/?page=Model Deployment" style="color:white; text-decoration:none;">Model Training</a></div>
112
- <div class="step" id="step8"><a href="/?page=Monitoring" style="color:white; text-decoration:none;">Model Testing</a></div>
113
- <div class="step" id="step9"><a href="/?page=ProblemStatement" style="color:white; text-decoration:none;">Model Deployment</a></div>
114
- <div class="step" id="step10"><a href="/?page=DataCollection" style="color:white; text-decoration:none;">Monitoring</a></div>
115
  </div>
116
  </div>
117
  </div>
@@ -119,3 +122,4 @@ html_code = """
119
 
120
  # Render the circular layout
121
  st.markdown(html_code, unsafe_allow_html=True)
 
 
24
  }
25
  .description {
26
  margin: 0px; /* Removed all margins for tighter spacing */
27
+ text-align: center;
28
  }
29
  .circle-container {
30
  display: flex;
 
34
  }
35
  .circle {
36
  position: relative;
37
+ width: 1100px; /* Adjusted circle size */
38
+ height: 1100px;
39
  border-radius: 50%;
40
  display: flex;
41
  justify-content: center;
 
51
  }
52
  .step {
53
  position: absolute;
54
+ width: 170px;
55
  height: 60px;
56
  font-size: 16px;
57
+ background-color: #f0f8ff; /* Light background color */
58
+ color: black; /* Black text */
59
  border-radius: 30px;
60
  display: flex;
61
  justify-content: center;
 
64
  cursor: pointer;
65
  transform-origin: 50% 50%;
66
  transition: transform 0.3s ease, background-color 0.3s ease;
67
+ text-decoration: none;
68
+ font-weight: bold;
69
  }
70
  .step:hover {
71
+ background-color: #e6e6fa;
72
  }
73
  #step1 { transform: rotate(0deg) translateX(320px) rotate(-0deg); }
74
  #step2 { transform: rotate(36deg) translateX(320px) rotate(-36deg); }
 
105
  <div class="circle-container">
106
  <div class="circle">
107
  <div class="steps">
108
+ <div class="step" id="step1"><a href="/?page=ProblemStatement" class="step">Problem Statement</a></div>
109
+ <div class="step" id="step2"><a href="/?page=DataCollection" class="step">Data Collection</a></div>
110
+ <div class="step" id="step3"><a href="/?page=SimpleEDA" class="step">Simple EDA</a></div>
111
+ <div class="step" id="step4"><a href="/?page=DataPreprocessing" class="step">Data Preprocessing</a></div>
112
+ <div class="step" id="step5"><a href="/?page=EDA" class="step">EDA</a></div>
113
+ <div class="step" id="step6"><a href="/?page=FeatureEngineering" class="step">Feature Engineering</a></div>
114
+ <div class="step" id="step7"><a href="/?page=ModelTraining" class="step">Model Training</a></div>
115
+ <div class="step" id="step8"><a href="/?page=ModelTesting" class="step">Model Testing</a></div>
116
+ <div class="step" id="step9"><a href="/?page=ModelDeployment" class="step">Model Deployment</a></div>
117
+ <div class="step" id="step10"><a href="/?page=Monitoring" class="step">Monitoring</a></div>
118
  </div>
119
  </div>
120
  </div>
 
122
 
123
  # Render the circular layout
124
  st.markdown(html_code, unsafe_allow_html=True)
125
+