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 way action space is discretized #205

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Conversation

galleon
Copy link
Contributor

@galleon galleon commented Sep 18, 2022

Was PR #176 related to issue #175 which was closed

This commit change the way a Box action is discretized.
It is inspired from the gym.spaces.Box.sample method. For unbounded spaces it builds on the quantile distribution of the Cauchy distribution (using a scale of 1).
An alternative could be derived from the logit function: log(1+p) - log(1-p) for example. But the current implementation has a larger spread.

@galleon galleon added the bug Something isn't working label Sep 18, 2022
@galleon galleon requested review from fteicht and neo-alex September 18, 2022 07:43
@galleon galleon self-assigned this Sep 18, 2022
Copy link
Collaborator

@fteicht fteicht left a comment

Choose a reason for hiding this comment

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

Apart from variable p being not accessed in Line 713 of skdecide/hub/domain/gym/gym.py, it all sounds good to me!

skdecide/hub/domain/gym/gym.py Outdated Show resolved Hide resolved
@fteicht fteicht self-requested a review September 13, 2023 12:41
Copy link
Collaborator

@fteicht fteicht left a comment

Choose a reason for hiding this comment

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

Mmm there is something strange. The PR now changes 57 files and it contains 48 commits. Did you synchronize your branch with airbus/scikit-decide master before pushing the PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants