-
Notifications
You must be signed in to change notification settings - Fork 40
Series of tests for AD #114
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
2234d4f
Solved tests for Matern
theogf a6159e1
Solved tests for dotproduct
theogf 4aeb0e3
First draft of AD tests
theogf b6a7901
Removing unnecessary functions and uncommented all cases
theogf f70adc1
Created two function for testing any kernel, any AD and compare with …
theogf 2ae0cd6
Needed type promotion for ForwardDiff.jl
theogf d88dcff
Created indirection from Base.map to _map for creating adjoints
theogf 6875aee
Created full adjoints for DotProduct and evaluate for Sinus
theogf 44368fb
Fixing ambiguity for Identity transform
theogf b3142f6
Adding test dependencies for AD
theogf 44ad0cd
Put everything under _map to avoid ambiguities
theogf 07631b6
Tests passing for constant kernels/modified Zygote to return zeros in…
theogf 960bad2
Spread tests for all base kernels
theogf 3e620ae
Spread tests for all transforms
theogf 24cb00d
Removed need to give a name
theogf 5b2e580
Adding needed export
theogf 0bba1a5
Removed test_AD
theogf 7f52242
Readded all tests
theogf f1000b3
Fixed tests and added adjoint tests
theogf 4023365
Fixing issues in tests and adding some output to avoid travis-ci prob…
theogf a73133b
Relaxed tolerance
theogf d586967
Added atol for test (for comparisons around 0)
theogf 577518f
Rewrote testing code
theogf 9d82e1c
Put a seed for FBM tests
theogf 181341e
Remove adjoint for Sinus
theogf 88c6af7
Import all Flux functions
theogf aa282a1
Fix parenthesis missing
theogf ffefd1f
Fixed some stupid testing bugs
theogf 6b5ba4d
Corrected Tests Zygote Adjoints
theogf b6ddf52
Clearer failing messages
theogf 5c7eb6a
Adding Project.toml to test folder
theogf a4e5bb2
Missing ForwardDiff and removed KernelFunctions
theogf 686ad8c
Missing ReverseDiff
theogf e94973e
Removed passing tests for PeriodicKernel
theogf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[deps] | ||
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7" | ||
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000" | ||
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" | ||
KernelFunctions = "ec8451be-7e33-11e9-00cf-bbf324bd1392" | ||
Kronecker = "2c470bb0-bcc8-11e8-3dad-c9649493f05e" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | ||
|
||
[compat] | ||
Distances = "0.9" | ||
FiniteDifferences = "0.10" | ||
Flux = "0.10" | ||
Kronecker = "0.4" | ||
PDMats = "0.9" | ||
SpecialFunctions = "0.10" | ||
Zygote = "0.4" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.