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

Aggregated pull request #23

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Conversation

mierzejk
Copy link
Contributor

@mierzejk mierzejk commented Aug 27, 2023

This is an aggregated pull request that consists of the following, individual pull requests:

This pull request is comprised of every single commit that is included in each of the pull requests in the list above. Depending on the order of pull requests being accepted, some merge conflicts might arise. The present pull request has all merge conflicts already resolved, so it is recommended to consider accepting this one instead of merging all foregoing pull requests separately.

This pull request resolves the following issues:

…to replace 0 is symmetrical to alpha^-1 with respect to the natural logarithm.
- use np.random.choice to sample input data without replacement;
- use np.percentile so samples are stratified with respect to (possibly multivariate) x values.
…ace with 2d array as the compute_density_ratio function argument.
# Conflicts:
#	densratio/helpers.py
#	tests/test_helpers.py
# Conflicts:
#	densratio/RuLSIF.py
#	densratio/helpers.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests.test_RuLSIF::test_alphadensratio_2d fails instable results Choosing kernel centers from test data
1 participant