Spaces:
Sleeping
Sleeping
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 |
-
.
|
| 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 |
-
|
| 62 |
}
|
| 63 |
.step {
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
font-size: 18px;
|
| 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 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 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
|
| 95 |
st.markdown(
|
| 96 |
"""
|
| 97 |
<div class="description">
|
|
@@ -107,26 +91,24 @@ st.markdown(
|
|
| 107 |
unsafe_allow_html=True,
|
| 108 |
)
|
| 109 |
|
| 110 |
-
# Render the
|
|
|
|
|
|
|
|
|
|
| 111 |
st.markdown(
|
| 112 |
"""
|
| 113 |
-
<div class="
|
| 114 |
-
<div class="
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 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 |
+
)
|