Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -7,14 +7,27 @@ st.set_page_config(
|
|
| 7 |
layout="wide"
|
| 8 |
)
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Global CSS for consistent styling across all pages
|
| 11 |
st.markdown("""
|
| 12 |
<style>
|
| 13 |
.stApp {
|
| 14 |
-
background-
|
| 15 |
-
background-size: cover;
|
| 16 |
-
background-repeat: no-repeat;
|
| 17 |
-
background-attachment: fixed;
|
| 18 |
}
|
| 19 |
h1 {
|
| 20 |
text-align: center;
|
|
@@ -22,23 +35,20 @@ st.markdown("""
|
|
| 22 |
margin-top: 20px;
|
| 23 |
}
|
| 24 |
.circle-container {
|
| 25 |
-
display: flex;
|
| 26 |
-
justify-content: center;
|
| 27 |
-
align-items: center;
|
| 28 |
-
margin-top: 400px; /* Fix the circle's vertical position */
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
.circle {
|
| 32 |
-
position: relative;
|
| 33 |
-
width: 1000px; /* Circle size */
|
| 34 |
-
height: 1000px;
|
| 35 |
-
border-radius: 50%;
|
| 36 |
display: flex;
|
| 37 |
justify-content: center;
|
| 38 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
.steps {
|
| 41 |
-
position:
|
| 42 |
width: 100%;
|
| 43 |
height: 100%;
|
| 44 |
display: flex;
|
|
@@ -47,9 +57,9 @@ st.markdown("""
|
|
| 47 |
}
|
| 48 |
.step {
|
| 49 |
position: absolute;
|
| 50 |
-
width: 160px; /*
|
| 51 |
-
height: 60px; /*
|
| 52 |
-
font-size: 16px;
|
| 53 |
background-color: #007bff;
|
| 54 |
color: white;
|
| 55 |
border-radius: 30px;
|
|
@@ -78,25 +88,6 @@ st.markdown("""
|
|
| 78 |
</style>
|
| 79 |
""", unsafe_allow_html=True)
|
| 80 |
|
| 81 |
-
# Page title
|
| 82 |
-
st.markdown('<h1>Life Cycle of End-to-End ML Project</h1>', unsafe_allow_html=True)
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
# Description of the page
|
| 86 |
-
st.write(
|
| 87 |
-
"""
|
| 88 |
-
- In this page, I will take you through the 10 crucial steps involved in the life cycle of a Machine Learning project.
|
| 89 |
-
- These steps outline the entire process:
|
| 90 |
-
- Starting from defining the problem and collecting data.
|
| 91 |
-
- Building, deploying, and monitoring the model.
|
| 92 |
-
- Each step plays a significant role in ensuring the success of the project:
|
| 93 |
-
- Addressing technical and practical challenges along the way.
|
| 94 |
-
- By following these steps, you can create a robust and efficient ML solution.
|
| 95 |
-
"""
|
| 96 |
-
)
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
# HTML for buttons in circular layout
|
| 101 |
html_code = """
|
| 102 |
<div class="circle-container">
|
|
@@ -117,5 +108,5 @@ html_code = """
|
|
| 117 |
</div>
|
| 118 |
"""
|
| 119 |
|
| 120 |
-
# Render the HTML
|
| 121 |
st.markdown(html_code, unsafe_allow_html=True)
|
|
|
|
| 7 |
layout="wide"
|
| 8 |
)
|
| 9 |
|
| 10 |
+
# Page title
|
| 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-color: #f8f9fa; /* Light background color for the text section */
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
h1 {
|
| 33 |
text-align: center;
|
|
|
|
| 35 |
margin-top: 20px;
|
| 36 |
}
|
| 37 |
.circle-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
display: flex;
|
| 39 |
justify-content: center;
|
| 40 |
align-items: center;
|
| 41 |
+
margin-top: 50px;
|
| 42 |
+
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");
|
| 43 |
+
background-size: cover;
|
| 44 |
+
background-repeat: no-repeat;
|
| 45 |
+
background-attachment: fixed;
|
| 46 |
+
border-radius: 50%;
|
| 47 |
+
width: 1000px;
|
| 48 |
+
height: 1000px;
|
| 49 |
}
|
| 50 |
.steps {
|
| 51 |
+
position: relative;
|
| 52 |
width: 100%;
|
| 53 |
height: 100%;
|
| 54 |
display: flex;
|
|
|
|
| 57 |
}
|
| 58 |
.step {
|
| 59 |
position: absolute;
|
| 60 |
+
width: 160px; /* Button width */
|
| 61 |
+
height: 60px; /* Button height */
|
| 62 |
+
font-size: 16px;
|
| 63 |
background-color: #007bff;
|
| 64 |
color: white;
|
| 65 |
border-radius: 30px;
|
|
|
|
| 88 |
</style>
|
| 89 |
""", unsafe_allow_html=True)
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
# HTML for buttons in circular layout
|
| 92 |
html_code = """
|
| 93 |
<div class="circle-container">
|
|
|
|
| 108 |
</div>
|
| 109 |
"""
|
| 110 |
|
| 111 |
+
# Render the HTML after the description
|
| 112 |
st.markdown(html_code, unsafe_allow_html=True)
|