File size: 6,220 Bytes
0fd39ec
 
136b9e1
0fd39ec
fe0c74d
0fd39ec
 
 
 
cb14e9b
 
0fd39ec
136b9e1
 
 
6568af3
cc2d266
0fd39ec
e4263d0
 
 
94d165f
e4263d0
 
08e02eb
 
 
 
b2192bf
08e02eb
a86f5f9
08e02eb
c9226da
b2544ea
 
c9226da
 
 
 
 
 
 
 
 
 
 
 
 
a86f5f9
 
c9226da
1ac8009
 
 
c9226da
a6bfc72
1ac8009
c9226da
 
 
 
 
 
 
 
 
36149c1
 
 
 
 
 
 
 
 
 
c9226da
 
0fd39ec
e4263d0
 
 
08e02eb
e4263d0
 
 
 
c9226da
e4263d0
 
 
 
cb14e9b
bea4269
e4263d0
 
08e02eb
 
 
94d165f
2cfe5b8
94d165f
2cfe5b8
 
 
 
 
 
 
08e02eb
 
a86f5f9
e4263d0
24991eb
 
1ac8009
 
1cad565
 
24991eb
1ac8009
59006ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bcd26b4
 
 
59006ed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
import streamlit as st

# Page configuration
st.set_page_config(
    page_title="Life Cycle of Machine Learning Project",
    page_icon="🚀",
    layout="wide"
)

# Global CSS for consistent styling
st.markdown(""" 
    <style>
    h1 {
        text-align: center;
        color: #BB3385;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .description {
        text-align: center;
        font-size: 18px;
        margin-bottom: 40px;
        color: #333333;
    }
    .circle-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 90px;
        position: relative;
    }
    .circle {
        position: relative;
        width: 600px; /* Increased size from 400px */
        height: 600px; /* Increased size from 400px */
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
    }
    .steps {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .step {
        position: absolute;
        width: 150px; /* Increased size from 150px */
        height: 60px; /* Increased size from 60px */
        font-size: 13px; /* Slightly larger font size */
        color: black;
        font-weight: bold; /* Bold text */
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        transform-origin: 50% 50%;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
        background-color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
    }
    #step1 { transform: rotate(0deg) translateX(300px) rotate(-0deg); background-color: #FFCCCB; } /* Light Red */
    #step2 { transform: rotate(36deg) translateX(300px) rotate(-36deg); background-color: #FFD700; } /* Gold */
    #step3 { transform: rotate(72deg) translateX(300px) rotate(-72deg); background-color: #90EE90; } /* Light Green */
    #step4 { transform: rotate(108deg) translateX(300px) rotate(-108deg); background-color: #ADD8E6; } /* Light Blue */
    #step5 { transform: rotate(144deg) translateX(300px) rotate(-144deg); background-color: #FFB6C1; } /* Light Pink */
    #step6 { transform: rotate(180deg) translateX(300px) rotate(-180deg); background-color: #FFA07A; } /* Light Salmon */
    #step7 { transform: rotate(216deg) translateX(300px) rotate(-216deg); background-color: #D8BFD8; } /* Thistle */
    #step8 { transform: rotate(252deg) translateX(300px) rotate(-252deg); background-color: #FFFFE0; } /* Light Yellow */
    #step9 { transform: rotate(288deg) translateX(300px) rotate(-288deg); background-color: #E0FFFF; } /* Light Cyan */
    #step10 { transform: rotate(324deg) translateX(300px) rotate(-324deg); background-color: #F5DEB3; } /* Wheat */
    </style>
""", unsafe_allow_html=True)

# Render the title
st.markdown('<h1>Life Cycle of End-to-End ML Project</h1>', unsafe_allow_html=True)

# Add the description above the circular layout
st.markdown(
    """
    <div class="description">
    - In this page, I will take you through the 10 crucial steps involved in the life cycle of a Machine Learning project.<br>
    - Each step plays a significant role in ensuring the success of the project.
    </div>
    """,
    unsafe_allow_html=True,
)

# Render the circular layout with buttons that redirect to different pages
st.markdown(
    """
    <div class="circle-container">
        <div class="circle">
            <div class="steps">
                <a href="/problem_statement" target="_self" class="step" id="step9">1. Problem Statement</a>
                <a href="/Data_Collection" target="_self" class="step" id="step10">2. Data Collection</a>
                <a href="/simple_eda" target="_self" class="step" id="step1">3. Simple EDA</a>
                <a href="/data_preprocessing" target="_self" class="step" id="step2">4. Data Preprocessing</a>
                <a href="/eda" target="_self" class="step" id="step3">5. EDA</a>
                <a href="/feature_engineering" target="_self" class="step" id="step4">6. Feature Engineering</a>
                <a href="/model_training" target="_self" class="step" id="step5">7. Model Training</a>
                <a href="/model_testing" target="_self" class="step" id="step6">8. Model Testing</a>
                <a href="/model_deployment" target="_self" class="step" id="step7">9. Model Deployment</a>
                <a href="/monitoring" target="_self" class="step" id="step8">10. Monitoring</a>
            </div>
        </div>
    </div>
    """,
    unsafe_allow_html=True
)


st.markdown("<br><br><br>", unsafe_allow_html=True)

# Additional content
st.markdown("""
**Problem Statement**:
   - Clearly define the business or research problem.
   - Identify the objectives and success criteria.

**Data Collection**:
   - Collect data from reliable sources.
   - Ensure the data is relevant and sufficient for the problem.

**Simple EDA (Exploratory Data Analysis)**:
   - Perform initial data exploration to understand basic patterns.
   - Quickly check for missing or inconsistent data.

**Data Preprocessing**:
   - Clean the data by handling missing values and correcting errors.
   - Transform data types and normalize or scale features as needed.

**EDA**:
   - Perform detailed analysis to uncover insights.
   - Visualize data relationships using charts and graphs.

**Feature Engineering**:
   - Create new features that enhance model performance.
   - Select or transform existing features to improve relevance.

**Model Training**:
   - Choose appropriate machine learning algorithms.
   - Train models and optimize hyperparameters for best performance.

**Model Testing**:
   - Evaluate the model's performance with test data.
   - Perform cross-validation and analyze performance metrics.

**Model Deployment**:
   - Deploy the model into a production environment.
   - Ensure the model can handle real-time data and user requests.

**Monitoring**:
   - Continuously monitor the model's performance over time.
   - Update and retrain the model to maintain accuracy and relevance.

""")