Error in WaterFall Plot · Issue #1420 · slundberg/shap · GitHub
github.com › slundberg › shapSep 10, 2020 · class ShapObject: def __init__(self, base_values, data, values, feature_names): self.base_values = base_values # Single value self.data = data # Raw feature values for 1 row of data self.values = values # SHAP values for the same row of data self.feature_names = feature_names # Column names shap_object = ShapObject(base_values = explainer.expected_value[1], values = explainer.shap_values ...