Skip to content

v0.2.15: hide individual components

Compare
Choose a tag to compare
@oegedijk oegedijk released this 10 Dec 10:44
· 967 commits to master since this release
1f96f20

Version 0.2.15:

New Features

  • can now hide entire components on tabs/composites:

    ExplainerDashboard(explainer, 
        # importances tab:
        hide_importances=True,
        # classification stats tab:
        hide_globalcutoff=True, hide_modelsummary=True, 
        hide_confusionmatrix=True, hide_precision=True, 
        hide_classification=True, hide_rocauc=True, 
        hide_prauc=True, hide_liftcurve=True, hide_cumprecision=True,
        # regression stats tab:
        # hide_modelsummary=True, 
        hide_predsvsactual=True, hide_residuals=True, 
        hide_regvscol=True,
        # individual predictions:
        hide_predindexselector=True, hide_predictionsummary=True,
        hide_contributiongraph=True, hide_pdp=True, 
        hide_contributiontable=True,
        # whatif:
        hide_whatifindexselector=True, hide_inputeditor=True, 
        hide_whatifcontribution=True, hide_whatifpdp=True,
        # shap dependence:
        hide_shapsummary=True, hide_shapdependence=True,
        # shap interactions:
        hide_interactionsummary=True, hide_interactiondependence=True,
        # decisiontrees:
        hide_treeindexselector=True, hide_treesgraph=True, 
        hide_treepathtable=True, hide_treepathgraph=True,
        ).run()
    

Bug Fixes

  • Fixed bug where if you passed a default index as **kwargs, the random index selector
    would still fire at startup, overriding the passed index
  • Fixed bug where in case of ties in shap values the contributions graph/table would show
    more than depth/topx feature
  • Fixed bug where favicon was not showing when using custom bootstrap theme
  • Fixed bug where logodds where multiplied by 100 in ShapContributionTableComponent

Improvements

  • added checks on logins parameter to give more helpful error messages
    • also now accepts a single pair of logins: logins=['user1', 'password1']
  • added a hide_footer parameter to components with a CardFooter