Giter Club home page Giter Club logo

Comments (7)

TomAugspurger avatar TomAugspurger commented on May 28, 2024

Can you provide a reproducible example? This works for me

In [5]: from distributed import Client

In [6]: client = Client()

In [7]: from sklearn.datasets import load_digits
   ...: from sklearn.svm import SVC
   ...:
   ...: # Fit with dask-searchcv
   ...: from dask_searchcv import GridSearchCV
   ...:
   ...: param_space = {'C': [1e-4, 1, 1e4],
   ...:                'gamma': [1e-3, 1, 1e3],
   ...:                'class_weight': [None, 'balanced']}
   ...:
   ...: model = SVC(kernel='rbf')
   ...:
   ...: digits = load_digits()
   ...:
   ...: search = GridSearchCV(model, param_space, cv=3)
   ...: search.fit(digits.data, digits.target)

from dask-searchcv.

jtromans avatar jtromans commented on May 28, 2024

Hi @TomAugspurger . I'll try this later this evening. However, I note that you aren't providing a remote scheduler IP address in this example. Perhaps that doesn't matter, but I'll confirm.

from dask-searchcv.

TomAugspurger avatar TomAugspurger commented on May 28, 2024

from dask-searchcv.

jtromans avatar jtromans commented on May 28, 2024

Example of v0.17.5 working correctly:
https://www.youtube.com/watch?v=TD9elHu5ag4

Example of v0.18.1 working incorrectly:
https://www.youtube.com/watch?v=ZXxZ9NvV8C0

@TomAugspurger please let me know if I can help to provide additional information.

from dask-searchcv.

TomAugspurger avatar TomAugspurger commented on May 28, 2024

Closing this in favor of dask/dask-ml#249

from dask-searchcv.

TomAugspurger avatar TomAugspurger commented on May 28, 2024

This was fixed over in dask/dask-ml#260

It'll be included in the next release of dask-ml which is probably sometime in the next week or two.

from dask-searchcv.

jtromans avatar jtromans commented on May 28, 2024

Thanks

from dask-searchcv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.