Harika22 commited on
Commit
8dc6b59
Β·
verified Β·
1 Parent(s): d2becc6

Update pages/3_Life cycle of ML.py

Browse files
Files changed (1) hide show
  1. pages/3_Life cycle of ML.py +9 -14
pages/3_Life cycle of ML.py CHANGED
@@ -11,15 +11,15 @@ def main():
11
 
12
  # Step descriptions and icons
13
  steps = [
14
- {"title": "1. Problem Definition", "description": "Define the problem, goals, and success criteria.", "icon": "πŸ”"},
15
- {"title": "2. Data Collection", "description": "Gather data from various sources.", "icon": "πŸ“Š"},
16
- {"title": "3. Data Cleaning", "description": "Handle missing values, remove duplicates, and fix errors.", "icon": "🧹"},
17
- {"title": "4. Exploratory Data Analysis (EDA)", "description": "Understand data patterns and relationships.", "icon": "πŸ“ˆ"},
18
- {"title": "5. Feature Engineering", "description": "Create, transform, or select important features.", "icon": "πŸ› οΈ"},
19
- {"title": "6. Model Selection", "description": "Choose a suitable algorithm for the task.", "icon": "πŸ€–"},
20
- {"title": "7. Model Training", "description": "Train the model using the training dataset.", "icon": "🎯"},
21
- {"title": "8. Model Evaluation", "description": "Assess the model's performance using metrics.", "icon": "πŸ“‹"},
22
- {"title": "9. Deployment", "description": "Deploy the model for real-world use.", "icon": "🌐"},
23
  {"title": "10. Monitoring & Maintenance", "description": "Monitor the model and update as needed.", "icon": "πŸ“‘"}
24
  ]
25
 
@@ -41,10 +41,5 @@ def main():
41
  with cols[idx]:
42
  st.markdown(f"{step['icon']} **{step['title']}**")
43
 
44
- # Footer section with images or a final message
45
- st.markdown("---")
46
- st.markdown("**Tip:** The ML lifecycle is iterative; revisit steps as needed!")
47
- st.image("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Machine_learning_lifecycle_diagram.jpg/1200px-Machine_learning_lifecycle_diagram.jpg", caption="Machine Learning Lifecycle", use_column_width=True)
48
-
49
  if __name__ == "__main__":
50
  main()
 
11
 
12
  # Step descriptions and icons
13
  steps = [
14
+ {"title": "1. Problem Definition", "description": "Objective of the project.", "icon": "πŸ”"},
15
+ {"title": "2. Data Collection", "description": "Data is collected from various sources like APIs, databases, or web scraping atlast we've to go with manual collection.", "icon": "πŸ“Š"},
16
+ {"title": "3. Simple EDA", "description": "Describing the quality of the data.", "icon": "🧹"},
17
+ {"title": "4. Data Pre-processing", "description": "It is a technique by which we can convert raw data into pre-procesed data --->1.Clean the data 2.Transform the data.", "icon": "πŸ“ˆ"},
18
+ {"title": "5. EDA", "description": "Transforming insights into a clean dataset and providing proper visualizations.", "icon": "πŸ› οΈ"},
19
+ {"title": "6. Feature Engineering", "description": "Creating and analyzing features and labels.", "icon": "πŸ€–"},
20
+ {"title": "7. Model Training", "description": "Training the machine about relationships between features and labels.", "icon": "🎯"},
21
+ {"title": "8. Model Testing", "description": "Testing how efficiently the machine learned.", "icon": "πŸ“‹"},
22
+ {"title": "9. Deployment", "description": "Deploying the machine to the client and ensuring maintenance for accurate results", "icon": "🌐"},
23
  {"title": "10. Monitoring & Maintenance", "description": "Monitor the model and update as needed.", "icon": "πŸ“‘"}
24
  ]
25
 
 
41
  with cols[idx]:
42
  st.markdown(f"{step['icon']} **{step['title']}**")
43
 
 
 
 
 
 
44
  if __name__ == "__main__":
45
  main()