John Guerrerio commited on
Commit
46f8a9f
1 Parent(s): d282791

removed share=True and updated README

Browse files
Files changed (3) hide show
  1. .gitignore +3 -0
  2. README.md +2 -2
  3. app.py +1 -3
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ venv
2
+ flagged
3
+ shap_*
README.md CHANGED
@@ -8,8 +8,8 @@ sdk_version: 4.27.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
- # DALI 2024S Dev Challenge Deployment
12
- ### Machine Learning Track
13
 
14
  Deployment of profit prediction models for the 2024S DALI Dev Challenge. I deployed the best performing Logistic Regression, SVM, and XGBoost models I generated. I also generate shapley values for each entry the user inputs to offer greater interpretability to model predictions.
15
 
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
+ # Dev Challenge Deployment
12
+ ### DALI 2024S - Machine Learning Track
13
 
14
  Deployment of profit prediction models for the 2024S DALI Dev Challenge. I deployed the best performing Logistic Regression, SVM, and XGBoost models I generated. I also generate shapley values for each entry the user inputs to offer greater interpretability to model predictions.
15
 
app.py CHANGED
@@ -167,8 +167,6 @@ XGB_tab = gr.Interface(
167
  description="Create your own purchases and see if the XGB model predicts they will make above or below the median profit\n\nValid regions: ['Central', 'East', 'South', 'West']\n\nValid product categories: ['Furniture', 'Office Supplies', 'Technology']\n\nValid product sub-categories: ['Accessories', 'Appliances', 'Art', 'Binders', 'Bookcases', 'Chairs', 'Copiers', 'Envelopes', 'Fasteners', 'Furnishings', 'Labels', 'Machines', 'Paper', 'Phones', 'Storage', 'Supplies', 'Tables']",
168
  )
169
 
170
-
171
-
172
  demo = gr.TabbedInterface([LogReg_tab, SVM_tab, XGB_tab], tab_names=["Logistic Regression", "SVM", "XGB"], theme=gr.themes.Soft())
173
 
174
- demo.launch(debug=True, share=True)
 
167
  description="Create your own purchases and see if the XGB model predicts they will make above or below the median profit\n\nValid regions: ['Central', 'East', 'South', 'West']\n\nValid product categories: ['Furniture', 'Office Supplies', 'Technology']\n\nValid product sub-categories: ['Accessories', 'Appliances', 'Art', 'Binders', 'Bookcases', 'Chairs', 'Copiers', 'Envelopes', 'Fasteners', 'Furnishings', 'Labels', 'Machines', 'Paper', 'Phones', 'Storage', 'Supplies', 'Tables']",
168
  )
169
 
 
 
170
  demo = gr.TabbedInterface([LogReg_tab, SVM_tab, XGB_tab], tab_names=["Logistic Regression", "SVM", "XGB"], theme=gr.themes.Soft())
171
 
172
+ demo.launch(debug=True)