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

AttributeError: module 'kale.ml' has no attribute 'Dataset #411

Open
rafa-aptitude opened this issue Apr 1, 2022 · 1 comment
Open

AttributeError: module 'kale.ml' has no attribute 'Dataset #411

rafa-aptitude opened this issue Apr 1, 2022 · 1 comment

Comments

@rafa-aptitude
Copy link

In the Blue Book for Bulldozers example, the cell that is supposed to create the kale dataset throws that error. You can check the example here:
https://github.com/kubeflow-kale/kale/blob/kubecon21eu/examples/bulldozers-kaggle-competition/blue-book-bulldozers.ipynb

I run it after setting up the cluster in AWS. The rest of the notebook up to that point runs smoothly.

@gparrella12
Copy link

You can import the dataset with from kale.common.artifacts import Dataset. After, in task definition, similarly you can import task with from kale.types import MLTask and replace kale_ml.Task.REGRESSION with MLTask.SIMPLE_REGRESSION.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants