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

Rename arguments of list_evaluations to indicate they expect lists of ids #907

Closed
wants to merge 1 commit into from

Conversation

Bilgecelik
Copy link
Contributor

@PGijsbers PGijsbers self-assigned this Apr 20, 2020
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.

The changes you made are good, I have one nit-picky name change.
That said, it's not complete. The unit tests are failing, because you did not update them in your changes. Click on 'details' for Travis CI and inspect why unit tests are failing. You'll see that the unit tests need their parameters updated too. There's is also feedback on code formatting, and a small mistake introduced by not renaming flow to flows when it is used in the function body.

@@ -337,23 +331,23 @@ def list_evaluations_setups(
# array_split -length % N sub-arrays of size length//N + 1 and the rest of size length//N.
setup_chunks = np.array_split(ary=evals['setup_id'].unique(),
indices_or_sections=((length - 1) // N) + 1)
setups = pd.DataFrame()
setupp = pd.DataFrame()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe use setup_data instead.

@Bilgecelik Bilgecelik closed this Jul 10, 2020
@Bilgecelik
Copy link
Contributor Author

Bilgecelik commented Jul 10, 2020

Updated after new version - https://github.com/openml/openml-python/pull/933

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.

2 participants