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

feat: Kronecker kernel + computation #371

Closed
daniel-dodd opened this issue Aug 30, 2023 · 2 comments
Closed

feat: Kronecker kernel + computation #371

daniel-dodd opened this issue Aug 30, 2023 · 2 comments
Labels
enhancement New feature or request stale

Comments

@daniel-dodd
Copy link
Member

Following the integration of CoLA (#370). It would be great to add a Konecker Kernel + computation.

from gpjax.kernels import CombinationKernel, RBF

# Code inherits from CombinationKernel or ProductKernel
class Kronecker(CombinationKernel):
        kernels: Sequence[AbstractKernel] = None
        compute_engine: AbstractKernelComputation = static_field(KronckerKernelComputation())
        ...
       
       def __post_init__(self):
         ... # check  influence of the Kernel across each dimension 
             # or set of dimensions is separable (active dims)

# Demo
k1 = RBF(active_dims=0)
k2 = RBF(active_dims=1)
kron_kern = Kronecker([k1, k2])
@daniel-dodd daniel-dodd added the enhancement New feature or request label Aug 30, 2023
@daniel-dodd daniel-dodd mentioned this issue Sep 1, 2023
8 tasks
Copy link

github-actions bot commented Sep 3, 2024

There has been no recent activity on this issue. To keep our issues log clean, we remove old and inactive issues.
Please update to the latest version of GPJax and check if that resolves the issue. Let us know if that works for you by leaving a comment.
This issue is now marked as stale and will be closed if no further activity occurs. If you believe that this is incorrect, please comment. Thank you!

@github-actions github-actions bot added the stale label Sep 3, 2024
Copy link

There has been no activity on this PR for some time. Therefore, we will be automatically closing the PR if no new activity occurs within the next seven days.
Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

1 participant