Skip to content

Add an example about how to visualize the results of GridSearchCV #14349

Closed

Description

@qinhanmin2014

I think it'll be useful to add an example about how to visualize the results of GridSearchCV, when there're two hyperparameters. SVC will be a good choice here.
Example from Andreas's book:
https://nbviewer.jupyter.org/github/amueller/introduction_to_ml_with_python/blob/master/05-model-evaluation-and-improvement.ipynb
2019-07-14_113820
Also see the official guide of libsvm (P7)
https://www.csie.ntu.edu.tw/~cjlin/papers/guide/guide.pdf

Activity

  1. thomasjpfan commented on Jul 14, 2019

    @thomasjpfan
    Member

    I am working on this together with developing a plotting API. Here is what the API looks like for grid search: https://nbviewer.jupyter.org/github/thomasjpfan/sklearn_plot_api/blob/master/grid_search.ipynb

  2. qinhanmin2014 commented on Jul 14, 2019

    @qinhanmin2014
    MemberAuthor

    What's the relationship between this repo and scikit-learn? @thomasjpfan
    I'd like to see some plotting functions in scikit-learn ASAP. I open this issue because I think an example is much easier to review and merge.

  3. thomasjpfan commented on Jul 14, 2019

    @thomasjpfan
    Member

    @qinhanmin2014 I used that repo to experiment and share my prototypes of what a plotting api would look like in scikit-learn. I just opened #14357 to discuss the implementation and API.

    I open this issue because I think an example is much easier to review and merge.

    That makes sense. I am open to an narrative example that visualizes GridSearchCV.

  4. qinhanmin2014 commented on Jul 14, 2019

    @qinhanmin2014
    MemberAuthor

    That makes sense. I am open to an narrative example that visualizes GridSearchCV.

    it's not urgent :)

  5. qinhanmin2014 commented on Jul 15, 2019

    @qinhanmin2014
    MemberAuthor

    Thanks, we can only see the first plot of each example in the index, this is why I'm unable to find this example.

  6. smith558 commented on Jan 13, 2023

    @smith558
    Contributor

    I am working on this together with developing a plotting API. Here is what the API looks like for grid search: https://nbviewer.jupyter.org/github/thomasjpfan/sklearn_plot_api/blob/master/grid_search.ipynb

    Is the plot_grid_search function from the sklearn_plot_api package available anywhere? or the package? Cannot find either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions