copt.datasets.load_covtype

copt.datasets.load_covtype()[source]

Download and return the covtype dataset.

This is the binary classification version of the dataset as found in the LIBSVM dataset project:

Returns

scipy.sparse CSR matrix

Return type

X

y: numpy array

Labels, only takes values 0 or 1.