Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -7,27 +7,14 @@ st.set_page_config(
|
|
| 7 |
layout="wide"
|
| 8 |
)
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
st.markdown('<h1>Life Cycle of End-to-End ML Project</h1>', unsafe_allow_html=True)
|
| 12 |
-
|
| 13 |
-
# Description of the page
|
| 14 |
-
st.write(
|
| 15 |
-
"""
|
| 16 |
-
- In this page, I will take you through the 10 crucial steps involved in the life cycle of a Machine Learning project.
|
| 17 |
-
- These steps outline the entire process:
|
| 18 |
-
- Starting from defining the problem and collecting data.
|
| 19 |
-
- Building, deploying, and monitoring the model.
|
| 20 |
-
- Each step plays a significant role in ensuring the success of the project:
|
| 21 |
-
- Addressing technical and practical challenges along the way.
|
| 22 |
-
- By following these steps, you can create a robust and efficient ML solution.
|
| 23 |
-
"""
|
| 24 |
-
)
|
| 25 |
-
|
| 26 |
-
# Global CSS for consistent styling across all pages
|
| 27 |
st.markdown("""
|
| 28 |
<style>
|
| 29 |
.stApp {
|
| 30 |
-
background-
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
h1 {
|
| 33 |
text-align: center;
|
|
@@ -38,17 +25,19 @@ st.markdown("""
|
|
| 38 |
display: flex;
|
| 39 |
justify-content: center;
|
| 40 |
align-items: center;
|
| 41 |
-
margin-top: 50px;
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
background-attachment: fixed;
|
| 46 |
-
border-radius: 50%;
|
| 47 |
width: 1000px;
|
| 48 |
height: 1000px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
}
|
| 50 |
.steps {
|
| 51 |
-
position:
|
| 52 |
width: 100%;
|
| 53 |
height: 100%;
|
| 54 |
display: flex;
|
|
@@ -57,8 +46,8 @@ st.markdown("""
|
|
| 57 |
}
|
| 58 |
.step {
|
| 59 |
position: absolute;
|
| 60 |
-
width: 160px;
|
| 61 |
-
height: 60px;
|
| 62 |
font-size: 16px;
|
| 63 |
background-color: #007bff;
|
| 64 |
color: white;
|
|
@@ -74,7 +63,6 @@ st.markdown("""
|
|
| 74 |
.step:hover {
|
| 75 |
background-color: #0056b3;
|
| 76 |
}
|
| 77 |
-
/* Corrected button placement to ensure proper spacing */
|
| 78 |
#step1 { transform: rotate(0deg) translateX(260px) rotate(-0deg); }
|
| 79 |
#step2 { transform: rotate(36deg) translateX(260px) rotate(-36deg); }
|
| 80 |
#step3 { transform: rotate(72deg) translateX(260px) rotate(-72deg); }
|
|
@@ -108,5 +96,19 @@ html_code = """
|
|
| 108 |
</div>
|
| 109 |
"""
|
| 110 |
|
| 111 |
-
# Render the
|
| 112 |
st.markdown(html_code, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
layout="wide"
|
| 8 |
)
|
| 9 |
|
| 10 |
+
# Global CSS for consistent styling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
st.markdown("""
|
| 12 |
<style>
|
| 13 |
.stApp {
|
| 14 |
+
background-image: url("https://huggingface.co/spaces/LakshmiHarika/MachineLearning/resolve/main/DALL%C2%B7E%202024-12-03%2023.34.47%20-%20A%20simple%20and%20elegant%20background%20image%20for%20an%20AI-themed%20web%20application.%20The%20background%20should%20feature%20a%20soft%20gradient%20transitioning%20from%20white%20to%20ligh.webp");
|
| 15 |
+
background-size: cover;
|
| 16 |
+
background-repeat: no-repeat;
|
| 17 |
+
background-attachment: fixed;
|
| 18 |
}
|
| 19 |
h1 {
|
| 20 |
text-align: center;
|
|
|
|
| 25 |
display: flex;
|
| 26 |
justify-content: center;
|
| 27 |
align-items: center;
|
| 28 |
+
margin-top: 50px; /* Adjust spacing */
|
| 29 |
+
}
|
| 30 |
+
.circle {
|
| 31 |
+
position: relative;
|
|
|
|
|
|
|
| 32 |
width: 1000px;
|
| 33 |
height: 1000px;
|
| 34 |
+
border-radius: 50%;
|
| 35 |
+
display: flex;
|
| 36 |
+
justify-content: center;
|
| 37 |
+
align-items: center;
|
| 38 |
}
|
| 39 |
.steps {
|
| 40 |
+
position: absolute;
|
| 41 |
width: 100%;
|
| 42 |
height: 100%;
|
| 43 |
display: flex;
|
|
|
|
| 46 |
}
|
| 47 |
.step {
|
| 48 |
position: absolute;
|
| 49 |
+
width: 160px;
|
| 50 |
+
height: 60px;
|
| 51 |
font-size: 16px;
|
| 52 |
background-color: #007bff;
|
| 53 |
color: white;
|
|
|
|
| 63 |
.step:hover {
|
| 64 |
background-color: #0056b3;
|
| 65 |
}
|
|
|
|
| 66 |
#step1 { transform: rotate(0deg) translateX(260px) rotate(-0deg); }
|
| 67 |
#step2 { transform: rotate(36deg) translateX(260px) rotate(-36deg); }
|
| 68 |
#step3 { transform: rotate(72deg) translateX(260px) rotate(-72deg); }
|
|
|
|
| 96 |
</div>
|
| 97 |
"""
|
| 98 |
|
| 99 |
+
# Render the circular layout first
|
| 100 |
st.markdown(html_code, unsafe_allow_html=True)
|
| 101 |
+
|
| 102 |
+
# Page title and description
|
| 103 |
+
st.markdown('<h1>Life Cycle of End-to-End ML Project</h1>', unsafe_allow_html=True)
|
| 104 |
+
st.write(
|
| 105 |
+
"""
|
| 106 |
+
- In this page, I will take you through the 10 crucial steps involved in the life cycle of a Machine Learning project.
|
| 107 |
+
- These steps outline the entire process:
|
| 108 |
+
- Starting from defining the problem and collecting data.
|
| 109 |
+
- Building, deploying, and monitoring the model.
|
| 110 |
+
- Each step plays a significant role in ensuring the success of the project:
|
| 111 |
+
- Addressing technical and practical challenges along the way.
|
| 112 |
+
- By following these steps, you can create a robust and efficient ML solution.
|
| 113 |
+
"""
|
| 114 |
+
)
|