Giter VIP home page Giter VIP logo

Comments (10)

martindurant avatar martindurant commented on August 16, 2024

@TomAugspurger, does this mean anything to you, perhaps a joblib/sklearn release schedule thing?

from pangeo-example-notebooks.

TomAugspurger avatar TomAugspurger commented on August 16, 2024

Did you import dask_ml.joblib, or import distributed.joblib first?

from pangeo-example-notebooks.

raybellwaves avatar raybellwaves commented on August 16, 2024

The imports (in order) throughout the notebook are:

from dask_kubernetes import KubeCluster
from dask.distributed import Client, progress
import dask_ml.joblib  # register the distriubted backend
from sklearn.datasets import make_classification
from sklearn.svm import SVC
from sklearn.model_selection import GridSearchCV
import pandas as pd
from sklearn.externals import joblib

from pangeo-example-notebooks.

TomAugspurger avatar TomAugspurger commented on August 16, 2024

Thanks, that would have raised a different error anyway.

Will take a look later.

from pangeo-example-notebooks.

dazzag24 avatar dazzag24 commented on August 16, 2024

Seeing same issue in example notebooks

from pangeo-example-notebooks.

TomAugspurger avatar TomAugspurger commented on August 16, 2024

Hopefully fixed by pangeo-data/helm-chart#51

You could maybe work around it by adding dask-ml to the worker-template.yaml, something like

    env:
      - name: EXTRA_CONDA_PACKAGES
        value: dask-ml

for now, but that isn't a long-term solution.

from pangeo-example-notebooks.

rsignell-usgs avatar rsignell-usgs commented on August 16, 2024

This machine learning notebook is working fine on our http://pangeo.esipfed.org instance using this Dockerfile based solely on conda-forge.

from pangeo-example-notebooks.

TomAugspurger avatar TomAugspurger commented on August 16, 2024

from pangeo-example-notebooks.

TomAugspurger avatar TomAugspurger commented on August 16, 2024

Ah, of course my diagnosis is incorrect, since the example doesn't actually require dask-ml, just scikit-learn and distributed.

I'll do some further debugging...

from pangeo-example-notebooks.

rsignell-usgs avatar rsignell-usgs commented on August 16, 2024

@TomAugspurger, we actually are using the notebook image for the workers too, so that old worker Dockerfile is misleading. The notebook environment contains dask-ml, which is required by the example notebook.

from pangeo-example-notebooks.

Related Issues (16)

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.