aai-institute / continuiti

Learning function operators with neural networks.
GNU Lesser General Public License v3.0
19 stars 3 forks source link

Feature: Regular Grid Sampler #64

Closed JakobEliasWagner closed 6 months ago

JakobEliasWagner commented 6 months ago

Feature: Regular Grid Sampler

Description

This pull request introduces a new RegularGridSampler class, enhancing the sampling capabilities within n-dimensional hyperrectangles. The sampler is designed to generate samples that are as uniformly distributed across the grid as possible, with added functionality to handle over and undersampling when the requested number of samples cannot be perfectly achieved.

Which issue does this PR tackle?

How does it solve the problem?

How are the changes tested?

Checklist for Contributors

Checklist for Reviewers:

JakobEliasWagner commented 6 months ago

Currently the target branch is still feature/sampler as this feature is dependent on the features of this branch.

samuelburbulla commented 6 months ago

Please update the CHANGELOG as RegularGridSampler is a new feature.