copt.datasets.load_covtype¶
-
copt.datasets.
load_covtype
(data_dir='/builder/home/copt_data')¶ 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
- y: numpy array
Labels, only takes values 0 or 1.
- Return type
X