This is documentation for an old release of Scikit-learn (version 0.23). 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 | None

The path to scikit-learn data dir.