Fork me on GitHub

sklearn.datasets.fetch_california_housing

sklearn.datasets.fetch_california_housing(data_home=None, download_if_missing=True)

Loader for the California housing dataset from StatLib.

Parameters :

data_home : optional, default: None

Specify another download and cache folder for the datasets. By default all scikit learn data is stored in ‘~/scikit_learn_data’ subfolders.

download_if_missing: optional, True by default :

If False, raise a IOError if the data is not locally available instead of trying to download the data from the source site.

Notes

This dataset consists of 20,640 samples and 9 features.

Previous
Next