bipartite_learn.datasets.loader#

Functions

get_data_home([data_home])

Return the path of the bipartite_learn data directory. This folder is used by some large dataset loaders to avoid downloading the data several times. By default the data directory is set to a folder named 'bipartite_learn_data' in the user home folder. Alternatively, it can be set by the 'BIPARTITE_LEARN_DATA' environment variable or programmatically by giving an explicit folder path. The '~' symbol is expanded to the user home folder. If the folder does not already exist, it is automatically created. :param data_home: The path to bipartite_learn data directory. If None, the default path is ~/bipartite_learn_data. :type data_home: str, default=None.

Classes

BaseFileLoader(*, filepath[, description])

Abstract base class for file loader objects.

BaseRemoteFileLoader(*, url, filepath, ...)

Abstract base class for loaders of remote files.

BipartiteDatasetLoader(*, X_loader, ...[, ...])

Basic loader for bipartite datasets.

Exceptions

InvalidChecksumError(path[, actual, expected])