-
Notifications
You must be signed in to change notification settings - Fork 555
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
Kronecker Gaussian Regression with arbitrarily many sub kernels #804
Conversation
Seems like a great contribution - unfortunately not passing tests. Does the change from X1,X2 to Xs cause the |
Ah I see now that I didn't modify the testing scripts to pass in arguments following the new syntax. I will make that adjustment shortly and try the tests again. |
Codecov Report
@@ Coverage Diff @@
## devel #804 +/- ##
==========================================
+ Coverage 54.24% 54.26% +0.02%
==========================================
Files 210 210
Lines 21347 21365 +18
Branches 2883 2895 +12
==========================================
+ Hits 11579 11594 +15
- Misses 9231 9233 +2
- Partials 537 538 +1 |
ok, should be ready to pull in now. Possibly worth adding a test to a larger number of kernels than 2 now, if it seems necessary |
I hate to be that guy, but it's a potential interface change so it's worth picking that nit: the test fixes |
ok, it is probably possible to remove the |
It's kinda gross, but compliant with the old signature: |
re the suggestion above one would also needs an |
…ded a new test case to cover the extension
I added a new test to include coverage of the a 2+ kernel case. I'm glad I did because there seem to be issues. Unfortunately I haven't been able to completely resolve them. Some of the problem appears to be a non-trivial ordering to the input dimensions. However the rest of the issue appears to be compounding numerical issues making equivalence between the normal and kronecker models difficult to assess. I'll keep working on this but it may take a little more time to get things up to snuff |
You might consider squashing these commits when you're ready to merge - it will make the master branch's git log cleaner. |
How do you recommend doing that? |
Squashing commits can be a bit of a messy thing, but is not fundamentally complicated: this is a good, concise source. |
Sure. No need to squash anything, we'll be able to squash everything in a single commit nicely once we merge this PR. if you could just fix those tests it would be great |
Codecov Report
@@ Coverage Diff @@
## devel #804 +/- ##
==========================================
+ Coverage 54.12% 54.26% +0.14%
==========================================
Files 211 210 -1
Lines 21405 21365 -40
Branches 2892 2895 +3
==========================================
+ Hits 11585 11594 +9
+ Misses 9271 9233 -38
+ Partials 549 538 -11 |
Apologies, I have had trouble getting the numerics to stabilize enough to path the tests above, and then got distracted by COVID related things. It is still my intent to make this merge but it may take me awhile. |
@mclaughlin6464 since this is an old PR, maybe now would be a good time to squash and rebase on top of Here is one way to do it:
|
Leaving this open for now, the content is good but it's not passing tests - still |
Closing due to no activity & merge conflicts |
I modified gp_kronecker_regression object to accept aribtrarily many sub kernels, without ever constructing any of the larger kenels. I had an application I needed this for so I just implemented it. I would also like in the future to implement derivatives with this object as well.