Download data and save data in data_dir. The directory name is default to 'data'.

Download dataset

Download data manually from Google Drive if the website of the original source is down. Place the downloaded folder under 'data' directory.

download_data[source]

download_data(dataset_type)

Download digits data

download_data('digits')
data_dir already exists

Download letters data

download_data('letters')
data_dir already exists