Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Call get_data to create compressed pickle
Otherwise the data would actually be loaded from arff (first load).
  • Loading branch information
PGijsbers committed Jan 15, 2021
commit 1bcb7d3168b3b745f16759d0c1cf2debee43ed70
2 changes: 2 additions & 0 deletions tests/test_datasets/test_dataset_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,8 @@ def test_list_qualities(self):

def test_get_dataset_cache_format_pickle(self):
dataset = openml.datasets.get_dataset(1)
dataset.get_data()

self.assertEqual(type(dataset), OpenMLDataset)
self.assertEqual(dataset.name, "anneal")
self.assertGreater(len(dataset.features), 1)
Expand Down