moocore.
get_dataset#
- moocore.get_dataset(filename, /, **kwargs)[source]#
Return dataset provided by
moocoreas a NumPy array.- Parameters:
filename (
str) – Name of the dataset.kwargs (
Any) – Additional arguments are passed toget_dataset_path().
- Returns:
ndarray– An array containing a representation of the data in the file. The first \(n-1\) columns contain the numerical data for each of the objectives. The last column contains an identifier for which set the data is relevant to.
See also
read_datasetsFunction used to read the dataset.
Gallery examples#
Comparing methods for approximating the hypervolume
Comparing methods for approximating the hypervolume