Home > Blockchain >  SHAP plotting waterfall using an index value in dataframe
SHAP plotting waterfall using an index value in dataframe

Time:05-20

I am working on a binary classification using random forest algorithm

Currently, am trying to explain the model predictions using SHAP values.

So, I referred this useful post enter image description here

Proof:

model.predict_proba(X.iloc[[idx]])

array([[0.95752656, 0.04247344]])
  • Related