报错
HTTPError Traceback (most recent call last)
Cell In[3], line 5
2 from sklearn.datasets import fetch_california_housing
3 from sklearn.model_selection import train_test_split
----> 5 X, Y = fetch_california_housing(return_X_y=True)
6 print(X.shape),
7 print(Y.shape)
File ~\miniconda3\lib\site-packages\sklearn\datasets\_california_housing.py:138, in fetch_california_housing(data_home, download_if_missing, return_X_y, as_frame)
132 raise IOError("Data not found and `download_if_missing` is False")
134 logger.info(
135 "Downloading Cal. housing from {} to {}".format(ARCHIVE.url, data_home)
136 )
--> 138 archive_path = _fetch_remote(ARCHIVE, dirname=data_home)
140 with tarfile.open(mode="r:gz", name