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

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

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -23,18 +23,18 @@ st.markdown("""
23
  margin-bottom: 10px;
24
  }
25
  .description {
26
- margin: 0px; /* Removed all margins for tighter spacing */
27
  text-align: center;
28
  }
29
  .circle-container {
30
  display: flex;
31
  justify-content: center;
32
  align-items: center;
33
- margin: 0px; /* Removed extra space above the circle */
34
  }
35
  .circle {
36
  position: relative;
37
- width: 1100px; /* Adjusted circle size */
38
  height: 1100px;
39
  border-radius: 50%;
40
  display: flex;
@@ -54,8 +54,7 @@ st.markdown("""
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;
@@ -65,11 +64,18 @@ st.markdown("""
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); }
75
  #step3 { transform: rotate(72deg) translateX(320px) rotate(-72deg); }
@@ -105,16 +111,16 @@ html_code = """
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,4 +128,3 @@ html_code = """
122
 
123
  # Render the circular layout
124
  st.markdown(html_code, unsafe_allow_html=True)
125
-
 
23
  margin-bottom: 10px;
24
  }
25
  .description {
26
+ margin: 0px;
27
  text-align: center;
28
  }
29
  .circle-container {
30
  display: flex;
31
  justify-content: center;
32
  align-items: center;
33
+ margin: 0px;
34
  }
35
  .circle {
36
  position: relative;
37
+ width: 1100px;
38
  height: 1100px;
39
  border-radius: 50%;
40
  display: flex;
 
54
  width: 170px;
55
  height: 60px;
56
  font-size: 16px;
57
+ font-weight: bold;
 
58
  border-radius: 30px;
59
  display: flex;
60
  justify-content: center;
 
64
  transform-origin: 50% 50%;
65
  transition: transform 0.3s ease, background-color 0.3s ease;
66
  text-decoration: none;
67
+ color: black; /* Black text */
 
 
 
68
  }
69
+ .step1 { background-color: #FFDDC1; } /* Light Orange */
70
+ .step2 { background-color: #D4F1F4; } /* Light Blue */
71
+ .step3 { background-color: #D5ECC2; } /* Light Green */
72
+ .step4 { background-color: #F8C3DF; } /* Light Pink */
73
+ .step5 { background-color: #FFF7C0; } /* Light Yellow */
74
+ .step6 { background-color: #CDE7FF; } /* Sky Blue */
75
+ .step7 { background-color: #FEE9B2; } /* Light Peach */
76
+ .step8 { background-color: #FFCBCB; } /* Light Red */
77
+ .step9 { background-color: #E4F9F5; } /* Mint Green */
78
+ .step10 { background-color: #FFD9E8; } /* Soft Pink */
79
  #step1 { transform: rotate(0deg) translateX(320px) rotate(-0deg); }
80
  #step2 { transform: rotate(36deg) translateX(320px) rotate(-36deg); }
81
  #step3 { transform: rotate(72deg) translateX(320px) rotate(-72deg); }
 
111
  <div class="circle-container">
112
  <div class="circle">
113
  <div class="steps">
114
+ <div class="step step1" id="step1"><a href="/?page=ProblemStatement" style="color:black;">Problem Statement</a></div>
115
+ <div class="step step2" id="step2"><a href="/?page=DataCollection" style="color:black;">Data Collection</a></div>
116
+ <div class="step step3" id="step3"><a href="/?page=SimpleEDA" style="color:black;">Simple EDA</a></div>
117
+ <div class="step step4" id="step4"><a href="/?page=DataPreprocessing" style="color:black;">Data Preprocessing</a></div>
118
+ <div class="step step5" id="step5"><a href="/?page=EDA" style="color:black;">EDA</a></div>
119
+ <div class="step step6" id="step6"><a href="/?page=FeatureEngineering" style="color:black;">Feature Engineering</a></div>
120
+ <div class="step step7" id="step7"><a href="/?page=ModelTraining" style="color:black;">Model Training</a></div>
121
+ <div class="step step8" id="step8"><a href="/?page=ModelTesting" style="color:black;">Model Testing</a></div>
122
+ <div class="step step9" id="step9"><a href="/?page=ModelDeployment" style="color:black;">Model Deployment</a></div>
123
+ <div class="step step10" id="step10"><a href="/?page=Monitoring" style="color:black;">Monitoring</a></div>
124
  </div>
125
  </div>
126
  </div>
 
128
 
129
  # Render the circular layout
130
  st.markdown(html_code, unsafe_allow_html=True)