Utility functions

Datasets

copt.datasets.load_img1([n_rows, n_cols])

Load sample image.

copt.datasets.load_rcv1([subset, data_dir])

Download and return the RCV1 dataset.

copt.datasets.load_url([md5_check])

Download and return the URL dataset.

copt.datasets.load_covtype([data_dir])

Download and return the covtype dataset.

copt.datasets.load_gisette([subset, data_dir])

Download and return the covtype dataset.

copt.datasets.load_madelon([subset, data_dir])

Download and return the madelon dataset.

Misc

copt.utils.Trace([f, freq])