mlspm.datasets#

mlspm.datasets.download_dataset(name: str, target_dir: PathLike)[source]#

Download and unpack a dataset to a target directory.

The following datasets are available:

Parameters:
  • name – Name of the dataset to download.

  • target_dir – Directory where the dataset will be unpacked into. The directory and its parents will be created if they do not exist already. If the directory already exists and is not empty, then the operation is aborted.