You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I was wondering if it's possible for one to write their own kernel_fn in neural tangents to do regular kernel regression (for example, a Gaussian kernel). Naively just writing a new_kernel_fn and compiling it using jit raises an error when calling `predict_fn'. If this is possible, I'm sure I'm missing something important in making the function compatible with nt and stax backend.
edit: I see now that this may be more appropriate for discussions. Can move this thread there if appropriate!
The text was updated successfully, but these errors were encountered:
AFAIK all but one nt.predict functions should work with any kernel_fn, since they accept as inputs kernels; these kernels you can compute with any function you want.
Hello! I was wondering if it's possible for one to write their own
kernel_fn
in neural tangents to do regular kernel regression (for example, a Gaussian kernel). Naively just writing anew_kernel_fn
and compiling it usingjit
raises an error when calling `predict_fn'. If this is possible, I'm sure I'm missing something important in making the function compatible with nt and stax backend.edit: I see now that this may be more appropriate for discussions. Can move this thread there if appropriate!
The text was updated successfully, but these errors were encountered: