Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
5db6c08
made dataset features optional
LennartPurucker Jun 13, 2023
e00cbb6
fix check for qualities
LennartPurucker Jun 13, 2023
3e808a5
add lazy loading for dataset metadata and add option to refresh cache
LennartPurucker Jun 13, 2023
45aa03c
Merge branch 'develop' of https://github.com/openml/openml-python int…
LennartPurucker Jun 13, 2023
d5c40c1
adjust progress.rst
LennartPurucker Jun 13, 2023
eda6c9a
minor fixes
LennartPurucker Jun 13, 2023
32c6099
break line to keep link and respect line length
LennartPurucker Jun 13, 2023
c3e0074
[no ci] changes for pull request review
LennartPurucker Jun 14, 2023
490f072
refactor and add cache usage to load_metadata
LennartPurucker Jun 14, 2023
f8bcafd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 14, 2023
23ebb05
fix precommit
LennartPurucker Jun 14, 2023
e0c9e37
Merge branch 'download_updates' of https://github.com/openml/openml-p…
LennartPurucker Jun 14, 2023
6b21e9d
[no ci] adjust task loading to new dataset loading
LennartPurucker Jun 14, 2023
004fd85
[no ci] add actual lazy loading based on properties and adjusted test…
LennartPurucker Jun 14, 2023
722ff52
switch deprecation to future warning, adjusted deprecation cycle to v…
LennartPurucker Jun 15, 2023
2cb3b57
Update openml/tasks/functions.py
LennartPurucker Jun 15, 2023
a934586
Merge branch 'develop' of https://github.com/openml/openml-python int…
LennartPurucker Jun 15, 2023
b93ab89
changes based on pr review feedback
LennartPurucker Jun 15, 2023
f326be8
fix test w.r.t. server state
LennartPurucker Jun 15, 2023
e29f25f
Merge branch 'download_updates' of https://github.com/openml/openml-p…
LennartPurucker Jun 15, 2023
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
minor fixes
  • Loading branch information
LennartPurucker committed Jun 13, 2023
commit eda6c9a380d9667cbcbf91422fe4f3357662bba7
16 changes: 8 additions & 8 deletions openml/datasets/data_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ def __repr__(self):
def __eq__(self, other):
if not isinstance(other, OpenMLDataFeature):
return False
else:
return (
self.index == other.index
and self.name == other.name
and self.data_type == other.data_type
and self.nominal_values == other.nominal_values
and self.number_missing_values == other.number_missing_values
)

return (
self.index == other.index
and self.name == other.name
and self.data_type == other.data_type
and self.nominal_values == other.nominal_values
and self.number_missing_values == other.number_missing_values
)

def _repr_pretty_(self, pp, cycle):
pp.text(str(self))
3 changes: 2 additions & 1 deletion openml/datasets/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,8 @@ def get_data(
return data, targets, categorical, attribute_names

def load_metadata(self, features: bool = False, qualities: bool = False):
"""Load the missing medata information from the server and store it in the server.
"""Load the missing metadata information from the server and store it in the
dataset object.

The purpose of the function is to support lazy loading.

Expand Down