Mpodszus commited on
Commit
f7ae4d3
·
verified ·
1 Parent(s): 5fcb1c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import matplotlib.pyplot as plt
11
  loaded_model = pickle.load(open("h22_xgb_Final(2).pkl", 'rb'))
12
 
13
  # Setup SHAP Explainer for XGBoost
14
- explainer = shap.TreeExplainer(loaded_model)
15
 
16
  # Define the prediction function
17
  def main_func(SupportiveGM, Merit, LearningDevelopment, WorkEnvironment, Engagement, WellBeing):
 
11
  loaded_model = pickle.load(open("h22_xgb_Final(2).pkl", 'rb'))
12
 
13
  # Setup SHAP Explainer for XGBoost
14
+ explainer = shap.Explainer(loaded_model)
15
 
16
  # Define the prediction function
17
  def main_func(SupportiveGM, Merit, LearningDevelopment, WorkEnvironment, Engagement, WellBeing):