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

Fixed download of california housing dataset #85

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

DominiquePaul
Copy link

Fixed a bug in the California housing dataset that was caused by the source .tar file containing two files in the directory. The solution implemented is similar to how sklearn implements fetching the cal-housing dataset. I added a cache in the users home directory to avoid multiple downloads. Theoretically you could also just use a temp directory, but that would mean that the dataset is downloaded multiple times, which is very annoying for testing and debugging.

Link to sklearn implementation:
https://github.com/scikit-learn/scikit-learn/blob/364c77e04/sklearn/datasets/_california_housing.py\#L53

…source .tar file containing two files in the directory. The solution implemented is similar to how sklearn implements fetching the cal-housing dataset. I added a cache in the users home directory to avoid multiple downloads. Theoretically you could also just use a temp directory, but that would mean that the dataset is downloaded multiple times, which is very annyoing for testing and debugging. Link to sklearn implementation: https://github.com/scikit-learn/scikit-learn/blob/364c77e04/sklearn/datasets/_california_housing.py\#L53
…source .tar file containing two files in the directory. The solution implemented is similar to how sklearn implements fetching the cal-housing dataset. I added a cache in the users home directory to avoid multiple downloads. Theoretically you could also just use a temp directory, but that would mean that the dataset is downloaded multiple times, which is very annyoing for testing and debugging. Link to sklearn implementation: https://github.com/scikit-learn/scikit-learn/blob/364c77e04/sklearn/datasets/_california_housing.py\#L53
…source .tar file containing two files in the directory. The solution implemented is similar to how sklearn implements fetching the cal-housing dataset. I added a cache in the users home directory to avoid multiple downloads. Theoretically you could also just use a temp directory, but that would mean that the dataset is downloaded multiple times, which is very annyoing for testing and debugging. Link to sklearn implementation: https://github.com/scikit-learn/scikit-learn/blob/364c77e04/sklearn/datasets/_california_housing.py\#L53
@github-actions
Copy link

github-actions bot commented Jun 6, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@DominiquePaul
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@DominiquePaul
Copy link
Author

recheck

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

Successfully merging this pull request may close these issues.

None yet

1 participant