Skip to content

v0.2.17: Introducing ExplainerHub

Compare
Choose a tag to compare
@oegedijk oegedijk released this 20 Dec 13:12
· 940 commits to master since this release

0.2.17:

New Features

  • Introducing ExplainerHub: combine multiple dashboards together behind a single frontend with convenient url paths.
    • code example:
    db1 = ExplainerDashboard(explainer, title="Dashboard One", name='db1')
    db2 = ExplainerDashboard(explainer2, title="Dashboard Two", name='project_alpha', description="New proposed model")
    
    hub = ExplainerHub([db1, db2])
    hub.run()
    
    # store an recover from config:
    hub.to_yaml("hub.yaml")
    hub2 = ExplainerHub.from_config("hub.yaml")
  • adds option dump_explainer to ExplainerDashboard.to_yaml() to automatically
    dump the explainer along with the .yaml.
  • adds option use_waitress to ExplainerDashboard.run() and ExplainerHub.run(), to use the waitress python webserver instead of the Flask development server
  • adds parameters to ExplainerDashboard:
    • name: this will be used to assign a url for ExplainerHub (otherwise defaults to dashboard1, dashboard2, etc
    • description: this will be used for the title tooltip in the dashboard
      and in the ExplainerHub frontend.

Improvements

  • the cli now uses the waitress server by default.