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

Take cached kernel_mean_row_sum in Refine #264

Closed
tp832944 opened this issue Nov 30, 2023 · 0 comments · Fixed by #266
Closed

Take cached kernel_mean_row_sum in Refine #264

tp832944 opened this issue Nov 30, 2023 · 0 comments · Fixed by #266
Assignees

Comments

@tp832944
Copy link
Contributor

tp832944 commented Nov 30, 2023

Refine.refine() currently calculates kernel_mean_row_sum with no option to use an already-calculated value. Add this as an optional argument to the refine(), taking a default value of None to indicate that it still needs to be calculated. Document that Refine.approximate_kernel_row_sum will be ignored if kernel_mean_row_sum is passed.

This is necessary for OOPing of kernel herding refine.

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 a pull request may close this issue.

2 participants