This is documentation for an old release of Scikit-learn (version 1.4). Try the latest stable release (version 1.6) or development (unstable) versions.
sklearn.datasets
.clear_data_home¶
- sklearn.datasets.clear_data_home(data_home=None)[source]¶
Delete all the content of the data home cache.
- Parameters:
- data_homestr or path-like, default=None
The path to scikit-learn data directory. If
None
, the default path is~/scikit_learn_data
.
Examples
>>> from sklearn.datasets import clear_data_home >>> clear_data_home()