prakharg24 commited on
Commit
ec6bfbd
·
verified ·
1 Parent(s): 0862802

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +29 -0
utils.py CHANGED
@@ -1,5 +1,34 @@
1
  import streamlit as st
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  def go_to(page_name, from_callback=False):
4
  """
5
  Updates the session_state page and optionally triggers a rerun.
 
1
  import streamlit as st
2
 
3
+ # Define pipeline stages
4
+ development_stages = [
5
+ {"label": "Data Collection", "icon": "📥", "questions": [
6
+ "Where will you source the data from?",
7
+ "How will you ensure data quality?",
8
+ "Will you balance classes?"
9
+ ]},
10
+ {"label": "Preprocessing", "icon": "🛠️", "questions": [
11
+ "What features will you select?",
12
+ "Will you impute missing values or remove them?",
13
+ "How will you handle outliers?"
14
+ ]},
15
+ {"label": "Model Selection", "icon": "🤖", "questions": [
16
+ "Which algorithms will you consider?",
17
+ "Will you use pre-trained models?",
18
+ "How will you handle hyperparameters?"
19
+ ]},
20
+ {"label": "Training", "icon": "🏋️", "questions": [
21
+ "What loss function will you use?",
22
+ "How will you split train/validation?",
23
+ "Will you use early stopping?"
24
+ ]},
25
+ {"label": "Evaluation", "icon": "📊", "questions": [
26
+ "What metrics will you use?",
27
+ "Will you test on unseen data?",
28
+ "Will you consider fairness metrics?"
29
+ ]}
30
+ ]
31
+
32
  def go_to(page_name, from_callback=False):
33
  """
34
  Updates the session_state page and optionally triggers a rerun.