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