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

support for custom kernels #11

Open
gzheng92 opened this issue Jul 6, 2022 · 0 comments
Open

support for custom kernels #11

gzheng92 opened this issue Jul 6, 2022 · 0 comments

Comments

@gzheng92
Copy link

gzheng92 commented Jul 6, 2022

I'd like to use my own kernel function, based on the one used here in opt_h.m. I'm unaware of a name for it, but the expression is

15/16 * (1-u^2)^2 * (abs(u) <= 1)

This is easy enough to code up, but bwlocalconstant is structured so that choice of h0, hlb, hub are hard-coded depending on the choice of kernel.

I can get around the issue by defining my own version of bwlocalconstant, but it might be more robust to fix it in the package so that others can also use their own kernels

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

No branches or pull requests

1 participant