Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change groups to always return a tuple of strings #85

Merged
merged 32 commits into from
Sep 7, 2023
Merged

Conversation

livhe
Copy link
Collaborator

@livhe livhe commented Aug 3, 2023

Fixes #78

@livhe livhe marked this pull request as draft August 3, 2023 12:17
@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2023

Codecov Report

Merging #85 (deda5a4) into main (75b958e) will decrease coverage by 0.26%.
The diff coverage is 78.57%.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   90.48%   90.23%   -0.26%     
==========================================
  Files          23       23              
  Lines        1882     1894      +12     
==========================================
+ Hits         1703     1709       +6     
- Misses        179      185       +6     
Files Changed Coverage Δ
tpcp/validate/_scorer.py 95.03% <ø> (ø)
tpcp/_dataset.py 92.57% <75.00%> (-3.14%) ⬇️
tpcp/_utils/_score.py 97.32% <100.00%> (ø)
tpcp/optimize/optuna.py 90.11% <100.00%> (ø)

tpcp/_dataset.py Outdated Show resolved Hide resolved
@livhe livhe marked this pull request as ready for review August 4, 2023 12:33
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated

### Changed

- **BREAKING CHANGE**: The `group` property of the `Dataset` class is now called `group_label` and always returns named
Copy link
Member

Choose a reason for hiding this comment

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

Can you split this into two points? So the rename and the function change

CHANGELOG.md Outdated Show resolved Hide resolved
docs/guides/algorithm_validation_tpcp.rst Outdated Show resolved Hide resolved
tests/test_dataset.py Outdated Show resolved Hide resolved
tests/test_dataset.py Outdated Show resolved Hide resolved
tpcp/_dataset.py Show resolved Hide resolved
tpcp/_dataset.py Show resolved Hide resolved
tpcp/_dataset.py Outdated Show resolved Hide resolved
_tasks.py Outdated Show resolved Hide resolved
@livhe livhe marked this pull request as draft August 7, 2023 15:41
@livhe livhe marked this pull request as ready for review September 7, 2023 14:31
examples/datasets/_01_datasets_basics.py Outdated Show resolved Hide resolved
examples/datasets/_01_datasets_basics.py Outdated Show resolved Hide resolved
@AKuederle AKuederle merged commit 1f2d6ba into main Sep 7, 2023
@AKuederle AKuederle deleted the group_as_tuple branch September 7, 2023 15:21
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.

Single Column datasets should also return a tuple as group
3 participants