Varun6299 commited on
Commit
e38e850
·
verified ·
1 Parent(s): 4738f10

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -348,7 +348,7 @@ if st.session_state.last_prediction is not None:
348
  # 2. Base Value notation simplification
349
  st.markdown(f"""
350
  <p style='font-size:16px;'>
351
- **Base Value**: ${LOCAL_EXPLAINER.expected_value:,.2f}
352
  (Average sales prediction).
353
  </p>
354
  """, unsafe_allow_html=True)
@@ -359,7 +359,7 @@ if st.session_state.last_prediction is not None:
359
  # 3. Plot Interpretation Guide notation simplification
360
  st.markdown("##### Plot Interpretation Guide")
361
  st.markdown(f"""
362
- The Waterfall Plot shows how each feature value contributes to pushing the model's output from the **Base Value** (the average prediction, **${LOCAL_EXPLAINER.expected_value:,.2f}**) to the final **Forecast** (**${st.session_state.last_prediction:,.2f}**).
363
 
364
  * **Red Bars:** Feature values that **increase** the prediction (positive contribution).
365
  * **Blue Bars:** Feature values that **decrease** the prediction (negative contribution).
 
348
  # 2. Base Value notation simplification
349
  st.markdown(f"""
350
  <p style='font-size:16px;'>
351
+ Base Value: ${LOCAL_EXPLAINER.expected_value:,.2f}
352
  (Average sales prediction).
353
  </p>
354
  """, unsafe_allow_html=True)
 
359
  # 3. Plot Interpretation Guide notation simplification
360
  st.markdown("##### Plot Interpretation Guide")
361
  st.markdown(f"""
362
+ The Waterfall Plot shows how each feature value contributes to pushing the model's output from the **Base Value** (the average prediction, ${LOCAL_EXPLAINER.expected_value:,.2f}) to the final **Forecast** (${st.session_state.last_prediction:,.2f}).
363
 
364
  * **Red Bars:** Feature values that **increase** the prediction (positive contribution).
365
  * **Blue Bars:** Feature values that **decrease** the prediction (negative contribution).