Skip to content

Conversation

@amueller
Copy link
Contributor

@amueller amueller commented Sep 3, 2019

This tries to solve #773.
Still probably needs some handling for sparse datasets.

@amueller
Copy link
Contributor Author

amueller commented Sep 3, 2019

@mfeurer can you explain the restriction on the third part of the subcomponent?

@mfeurer
Copy link
Collaborator

mfeurer commented Sep 4, 2019

Please see my answer in #773

# Conflicts:
#	openml/extensions/sklearn/extension.py
@Neeratyoy
Copy link
Contributor

@amueller shall I try taking this PR up?

@Neeratyoy Neeratyoy requested a review from mfeurer December 4, 2019 17:40
@Neeratyoy
Copy link
Contributor

@mfeurer about 4/5 unit tests throw the following error when running on the latest sklearn version locally
openml.exceptions.OpenMLServerException: Problem validating uploaded description file - XML does not correspond to XSD schema

Also, I couldn't understand why for task.class_labels which is annotated as Optional[List[str]], it gives a flake error if I index it task.class_labels[0].
Flake error: Value of type "Optional[List[str]]" is not indexable

@mfeurer
Copy link
Collaborator

mfeurer commented Dec 5, 2019

Also, I couldn't understand why for task.class_labels which is annotated as Optional[List[str]], it gives a flake error if I index it task.class_labels[0].

As it is typed optional it can actually be None, which would not be indexable. You probably need to use typing.cast to please mypy.

openml.exceptions.OpenMLServerException: Problem validating uploaded description file - XML does not correspond to XSD schema

Hm, apparently, the dummy imputor needs a docstring, otherwise the description uploaded to OpenML will be emptly.

@codecov-io
Copy link

codecov-io commented Jan 21, 2020

Codecov Report

Merging #777 into develop will decrease coverage by 0.42%.
The diff coverage is 68.83%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #777      +/-   ##
===========================================
- Coverage    88.57%   88.15%   -0.43%     
===========================================
  Files           37       37              
  Lines         4324     4363      +39     
===========================================
+ Hits          3830     3846      +16     
- Misses         494      517      +23
Impacted Files Coverage Δ
openml/__init__.py 100% <100%> (ø) ⬆️
openml/config.py 78.99% <51.61%> (-11.58%) ⬇️
openml/datasets/dataset.py 85.98% <80%> (-1.05%) ⬇️
openml/datasets/functions.py 95.07% <80%> (+0.95%) ⬆️
openml/_api_calls.py 87.93% <0%> (-2.59%) ⬇️
openml/runs/functions.py 82.83% <0%> (-0.28%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 371911f...ae9c312. Read the comment docs.

@Neeratyoy Neeratyoy requested a review from mfeurer October 19, 2020 21:01
Copy link
Collaborator

@mfeurer mfeurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me by now :) I have added a few more comments, and I think there are few comments still open.

@mfeurer
Copy link
Collaborator

mfeurer commented Oct 21, 2020

Thanks for addressing my change requests, that all looks good now. There are a few old comments though, which are collapsed and you need to press 'show more to see them, that would be great if you could have a look at them. We can then ask @PGijsbers for another look and finally merge this :)

Copy link
Collaborator

@PGijsbers PGijsbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before I dive into the meat of this PR (which I will, with additional comments), I figured I would already add change requests/clarifications to get things moving :)

Copy link
Collaborator

@PGijsbers PGijsbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll approve this PR so we can push a release before the workshop. Please open a new Github issue which links back to this PR so we have an easy reference to some further improvements that can be done in these modules/examples.

@mfeurer mfeurer merged commit bf3cd2e into openml:develop Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants