hoxo-m / densratio_py

A Python Package for Density Ratio Estimation
https://github.com/hoxo-m/densratio_py
Other
127 stars 30 forks source link

Kernel centres semi-stratified selection without replacement #21

Open mierzejk opened 1 year ago

mierzejk commented 1 year ago

The pull request revises the way kernel centres are selected. The following changes have been introduced:

I call this manner of centre selection semi-stratified, because the final result is concatenated independently from every column of the second array dimension, where indices are chosen randomly from quantiles returned by np.percentile.

Resolves the following issues:

mierzejk commented 1 year ago

Please note that all commits covered by this pull request are also included in #23 Aggregated pull request.