copt.datasets.load_url

copt.datasets.load_url(md5_check=True)[source]

Download and return the URL dataset.

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

Parameters:md5_check (bool) – Whether to do an md5 check on the downloaded files.
Returns:
  • X (scipy.sparse CSR matrix)
  • y (numpy array) – Labels, only takes values 0 or 1.