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
Is your feature request related to a problem? Please describe.
Currently, the kernel goodness-of-fit library kgof has its own unique implementation of a kernel evaluation due to a unique data structure returned by autograd.numpy gradient calculations. This ArrayBox data structure does not share properties with numpy arrays and therefore must be handled separately and cannot be fed into compute_kern.
Describe the solution you'd like
Ideally, a new implementation would rip and replace kernel.py by removing its kernel evaluation functions and reducing the corresponding dependencies on autograd.numpy to do so. Should be a quick fix if handling of an ArrayBox can be improved or a better gradient calculation implementation is discovered.
Describe alternatives you've considered
There has already been an attempt to integrate compute_kern by replacing the eval functions in kernel.py with instances of compute_kern, but this raises an error in which values in an ArrayBox cannot be reached.
Additional context (e.g. screenshots)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, the kernel goodness-of-fit library
kgof
has its own unique implementation of a kernel evaluation due to a unique data structure returned byautograd.numpy
gradient calculations. ThisArrayBox
data structure does not share properties withnumpy
arrays and therefore must be handled separately and cannot be fed intocompute_kern
.Describe the solution you'd like
Ideally, a new implementation would rip and replace kernel.py by removing its kernel evaluation functions and reducing the corresponding dependencies on
autograd.numpy
to do so. Should be a quick fix if handling of anArrayBox
can be improved or a better gradient calculation implementation is discovered.Describe alternatives you've considered
There has already been an attempt to integrate
compute_kern
by replacing theeval
functions inkernel.py
with instances ofcompute_kern
, but this raises an error in which values in anArrayBox
cannot be reached.Additional context (e.g. screenshots)
The text was updated successfully, but these errors were encountered: