Update run.py by v-parmar · Pull Request #1194 · openml/openml-python · GitHub
Skip to content

Update run.py#1194

Merged
mfeurer merged 3 commits into
openml:developfrom
v-parmar:develop
Feb 24, 2023
Merged

Update run.py#1194
mfeurer merged 3 commits into
openml:developfrom
v-parmar:develop

Conversation

@v-parmar

@v-parmar v-parmar commented Feb 7, 2023

Copy link
Copy Markdown
Contributor

Reference Issue

Documentation Update #1069

What does this PR implement/fix? Explain your changes.

Here, I added a description for each attribute of what it represents.

@mfeurer mfeurer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you very much for contribution. This looks very helpful, unfortunately, it contains duplicate information. The type of each variable is now given twice: once in the type hint, and once in the documentation. Could you please update your PR to not contain such duplicate information?

@LennartPurucker

Copy link
Copy Markdown
Contributor

updated description to not contain duplicate information.
@LennartPurucker

Copy link
Copy Markdown
Contributor

Hey @v-parmar,

Thank you very much for the update. But I think you only updated some of it. @mfeurer specifically wanted to change the duplicate information. These duplicates still exist in the current version.

If you compare my version from above and the current version, it is mainly about the start of the parameters' descriptions, which usually start with explaining the type. As far as I can tell, this was the problem.

@v-parmar

Copy link
Copy Markdown
Contributor Author

@mfeurer mfeurer merged commit 5dcb7a3 into openml:develop Feb 24, 2023
mfeurer added a commit that referenced this pull request Mar 1, 2023
* added additional task agnostic local result to print of run

* add PR to progress.rst

* fix comment typo

* Update openml/runs/run.py

Co-authored-by: Matthias Feurer <lists@matthiasfeurer.de>

* add a function to list available estimation procedures

* refactor print to only work for supported task types and local measures

* add test for pint out and update progress

* added additional task agnostic local result to print of run

* add PR to progress.rst

* fix comment typo

* Update openml/runs/run.py

Co-authored-by: Matthias Feurer <lists@matthiasfeurer.de>

* add a function to list available estimation procedures

* refactor print to only work for supported task types and local measures

* add test for pint out and update progress

* Fix CI Python 3.6 (#1218)

* Try Ubunte 20.04 for Python 3.6

* use old ubuntu for python 3.6

* Bump docker/setup-buildx-action from 1 to 2 (#1221)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update run.py (#1194)

* Update run.py

* Update run.py

updated description to not contain duplicate information.

* Update run.py

* add type hint for new function

* update add description

* Refactor if-statements (#1219)

* Refactor if-statements

* Add explicit names to conditional expression

* Add 'dependencies' to better mimic OpenMLFlow

* Ci python 38 (#1220)

* Install custom numpy version for specific combination of Python3.8 and numpy

* Debug output

* Change syntax

* move to coverage action v3

* Remove test output

* added additional task agnostic local result to print of run

* add PR to progress.rst

* fix comment typo

* Update openml/runs/run.py

Co-authored-by: Matthias Feurer <lists@matthiasfeurer.de>

* add a function to list available estimation procedures

* refactor print to only work for supported task types and local measures

* add test for pint out and update progress

* added additional task agnostic local result to print of run

* add PR to progress.rst

* add type hint for new function

* update add description

* fix run doc string

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matthias Feurer <lists@matthiasfeurer.de>
Co-authored-by: Matthias Feurer <feurerm@informatik.uni-freiburg.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Parmar <vishalm524112@gmail.com>
Co-authored-by: Pieter Gijsbers <p.gijsbers@tue.nl>
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.

3 participants