Skip to content

Commit

Permalink
Merge branch 'master' into ilmat/fix-min-data-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamilton723 authored Nov 3, 2021
2 parents af11b31 + 5733b85 commit 0b3080a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notebooks/Interpretability - Explanation Dashboard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
" model=model,\n",
" targetCol=\"probability\",\n",
" targetClasses=[1],\n",
" backgroundData=training.orderBy(rand()).limit(100).cache(),\n",
" backgroundData=broadcast(training.orderBy(rand()).limit(100).cache()),\n",
")\n",
"\n",
"shap_df = shap.transform(explain_instances)\n"
Expand Down
2 changes: 1 addition & 1 deletion notebooks/Interpretability - Tabular SHAP explainer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
" model=model,\n",
" targetCol=\"probability\",\n",
" targetClasses=[1],\n",
" backgroundData=training.orderBy(rand()).limit(100).cache(),\n",
" backgroundData=broadcast(training.orderBy(rand()).limit(100).cache()),\n",
")\n",
"\n",
"shap_df = shap.transform(explain_instances)\n"
Expand Down

0 comments on commit 0b3080a

Please sign in to comment.