usps

usps dataset.

Handwritten recognition for digital acquisition. There are a total of 9298 handwritten digital images in the library(both 16*16 pixel grayscale values, the grayscale values have been normalized).And the dataset is divided into train and test.

The dataset page is available from LIBSVM

And the dataset with pretreatment can be found from

s3l.datasets.usps.fetch_usps(data_home=None, subset='train', download_if_missing=True, return_X_y=False)[source]

Load the filenames and data from the usps dataset.

Parameters:
  • data_home (optional, default: None) – Specify a download and cache folder for the datasets.
  • subset ('train' or 'test', optional) – Select the dataset to load: ‘train’ for the training set, ‘test’ for the test set.
  • download_if_missing (optional, default: True) – If False, raise an IOError if the data is not locally available instead of trying to download the data from the source site.
  • return_X_y (optional,default: false) – If True, returns (data, target) instead of a Bunch object. See below for more information about the data and target object.
Returns:

  • data (Bunch) – Dictionary-like object, the interesting attributes are: ‘data’, the data to learn, ‘target’, the classification labels, ‘target_names’, the meaning of the labels, ‘feature_names’, the meaning of the features, and ‘DESCR’, the full description of the dataset.
  • (data, target) (tuple if return_X_y is True)