aai-institute / continuiti

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

Feature: Quantile Scaler #112

Closed JakobEliasWagner closed 7 months ago

JakobEliasWagner commented 8 months ago

Feature: Quantile Scaler

Description

This pr introduces a quantile based scaler. The QuantileScaler class introduced in this PR provides a robust method for scaling features to a target distribution using quantile information. This approach is particularly useful for datasets with outliers or non-normal distributions. It maps n quantile intervals of the source distribution onto n quantile intervals of a Gaussian distribution. This preserves the internal structure of the data while allowing for applying different transformations depending on the quantile interval.

Which issue does this PR tackle?

How does it solve the problem?

How are the changes tested?

Checklist for Contributors

Checklist for Reviewers: