-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Fix some AD issues with various kernels (#154)
- Defines kernelmatrix function for NeuralNetworkKernel. - Defines Zygote adjoints for Mahalanobis distance metric. - Zygote tests pass for Exponential, FBM, NN and Gabor kernels. * Zygote passes for Exponential and FBM kernel * Zygote passes NN kernel * Zygote passes Gabor kernel * Address code review * Fix mutating arrays problem for maha kernel * Add adjoint for maha distance metric * Fix zygote adjoint * Fix adjoint typo * Fix buggy version of pairwise adjoint * Fix typo * Forgot to add adjoint macro * Add pairwise sqmahalanobis adjoint and test of sqmahalanobis * Maha kernel tests * Fix zygote adjoint for mahalanobis * Fix docs for matern * Make maha tests more readable * Address style issues * Fix bugs in tests and adjoints * Fix maha tests * Remove pairwise maha adjoints for now. * Fix style issues * Update maha.jl * Fix style in zygote_adjoints.jl
- Loading branch information
Showing
10 changed files
with
105 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters