Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot top n features in contours #2291

Closed

Commits on Apr 1, 2024

  1. plot top n features in contours (facebook#2291)

    Summary:
    
    This diff updates report_utils to plot only the top features, ranked by feature importance, rather than skipping plotting altogether when the number of features grows too large.
    
    * Adds `parameters_to_use` arg to `interact_contour` and `interact_contour_plotly`, which subsets which range parameters are plotted in contour plots and sets their order.
    * Adds `importance` arg to  `_get_objective_v_param_plots` ([pointer](https://www.internalfb.com/diff/D50501707?permalink=371874009149429)) to subset the top n parameters by importance on a per-metric basis, then provide those as `parameters_to_use` when calling `interact_contour_ploty`.
    
    Reviewed By: dme65
    
    Differential Revision: D50501707
    bernardbeckerman authored and facebook-github-bot committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    4684100 View commit details
    Browse the repository at this point in the history