Skip to content

Commit

Permalink
add specific index export to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Oege Dijk committed Aug 1, 2023
1 parent 896f1b1 commit 63f14f9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,25 @@ ExplainerDashboard(explainer).run()
`y_test` is actually optional, although some parts of the dashboard like performance
metrics will obviously not be available: `ExplainerDashboard(ClassifierExplainer(model, X_test)).run()`.

You can export a dashboard to static html with `db.save_html('dashboard.html')`.
You can export a dashboard to static html with `db.save_html('dashboard.html')`.


<details>
<summary>You can pass a specific index for the static dashboard to display</summary>
<p>

```
ExplainerDashboard(explainer, index=0).save_html('dashboard.html')
```

or


```
ExplainerDashboard(explainer, index='Cumings, Mrs. John Bradley (Florence Briggs Thayer)').save_html('dashboard.html')
```
</p>
</details>

For a simplified single page dashboard try `ExplainerDashboard(explainer, simple=True)`.

Expand Down

0 comments on commit 63f14f9

Please sign in to comment.