Datasets
The ocean.datasets module exposes three convenience loaders backed by
ocean.datasets.Loader.
- load_adult(*, scale=False, return_mapper=True)
Load the Adult income dataset.
When
return_mapperisTruethe function returns((data, target), mapper). Otherwise it returns(data, target).
- load_compas(*, scale=False, return_mapper=True)
Load the COMPAS dataset.
The return convention matches
load_adult().
- load_credit(*, scale=False, return_mapper=True)
Load the Credit dataset.
The return convention matches
load_adult().