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

Adding Log Sampling #1940

Merged
merged 11 commits into from Jun 7, 2023
Merged

Adding Log Sampling #1940

merged 11 commits into from Jun 7, 2023

Conversation

Congpy
Copy link
Contributor

@Congpy Congpy commented Jan 24, 2023

Hello, here is my code regarding the #1598.

sample_logarithmic_randomly() is just like a random but scaled on a log scale.
sample_logarithmic_uniformly() does what sample_uniformly() does but on a log scale.

PS: I'm sorry I cannot add new feature label. Maybe I should have done it before I opened the pr?

Copy link
Member

@renefritze renefritze left a comment

Choose a reason for hiding this comment

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

Hey @Congpy thank you for your contribution. I made some style suggestions.

It would be great if the new sampling methods could be exercised in our test suite.

src/pymor/parameters/base.py Outdated Show resolved Hide resolved
src/pymor/parameters/base.py Outdated Show resolved Hide resolved
src/pymor/parameters/base.py Outdated Show resolved Hide resolved
src/pymor/parameters/base.py Outdated Show resolved Hide resolved
@sdrave sdrave force-pushed the main branch 4 times, most recently from 18e66f2 to e80291b Compare March 7, 2023 20:03
@pmli pmli added this to the 2023.1 milestone May 9, 2023
@HenKlei HenKlei added the pr:new-feature Introduces a new feature label May 11, 2023
@sdrave sdrave removed the autoupdate label May 12, 2023
@pmli pmli assigned pmli and unassigned sdrave May 16, 2023
@pmli pmli requested a review from sdrave May 18, 2023 18:45
@sdrave sdrave dismissed renefritze’s stale review June 7, 2023 11:18

All remarks addressed.

@sdrave sdrave added this pull request to the merge queue Jun 7, 2023
Merged via the queue into pymor:main with commit 6b09df4 Jun 7, 2023
18 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

Local mirror branch external_pr_1940 deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:new-feature Introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants