Skip to content
Merged
Show file tree
Hide file tree
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 May 12, 2020
a6159e1
Solved tests for dotproduct
theogf May 12, 2020
4aeb0e3
First draft of AD tests
theogf May 12, 2020
b6a7901
Removing unnecessary functions and uncommented all cases
theogf May 12, 2020
f70adc1
Created two function for testing any kernel, any AD and compare with …
theogf May 14, 2020
2ae0cd6
Needed type promotion for ForwardDiff.jl
theogf May 14, 2020
d88dcff
Created indirection from Base.map to _map for creating adjoints
theogf May 14, 2020
6875aee
Created full adjoints for DotProduct and evaluate for Sinus
theogf May 14, 2020
44368fb
Fixing ambiguity for Identity transform
theogf May 14, 2020
b3142f6
Adding test dependencies for AD
theogf May 15, 2020
44ad0cd
Put everything under _map to avoid ambiguities
theogf May 15, 2020
07631b6
Tests passing for constant kernels/modified Zygote to return zeros in…
theogf May 15, 2020
960bad2
Spread tests for all base kernels
theogf May 16, 2020
3e620ae
Spread tests for all transforms
theogf May 16, 2020
24cb00d
Removed need to give a name
theogf May 16, 2020
5b2e580
Adding needed export
theogf May 16, 2020
0bba1a5
Removed test_AD
theogf May 16, 2020
7f52242
Readded all tests
theogf May 16, 2020
f1000b3
Fixed tests and added adjoint tests
theogf May 16, 2020
4023365
Fixing issues in tests and adding some output to avoid travis-ci prob…
theogf May 17, 2020
a73133b
Relaxed tolerance
theogf May 17, 2020
d586967
Added atol for test (for comparisons around 0)
theogf May 22, 2020
577518f
Rewrote testing code
theogf May 25, 2020
9d82e1c
Put a seed for FBM tests
theogf May 25, 2020
181341e
Remove adjoint for Sinus
theogf May 25, 2020
88c6af7
Import all Flux functions
theogf May 25, 2020
aa282a1
Fix parenthesis missing
theogf May 25, 2020
ffefd1f
Fixed some stupid testing bugs
theogf May 25, 2020
6b5ba4d
Corrected Tests Zygote Adjoints
theogf May 25, 2020
b6ddf52
Clearer failing messages
theogf May 25, 2020
5c7eb6a
Adding Project.toml to test folder
theogf Jun 12, 2020
a4e5bb2
Missing ForwardDiff and removed KernelFunctions
theogf Jun 12, 2020
686ad8c
Missing ReverseDiff
theogf Jun 12, 2020
e94973e
Removed passing tests for PeriodicKernel
theogf Jun 15, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs = ["", "test"])'
14 changes: 0 additions & 14 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,3 @@ StatsBase = "0.32, 0.33"
StatsFuns = "0.8, 0.9"
ZygoteRules = "0.2"
julia = "1.3"

[extras]
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Kronecker = "2c470bb0-bcc8-11e8-3dad-c9649493f05e"
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Random", "Test", "FiniteDifferences", "Zygote", "ReverseDiff", "ForwardDiff", "PDMats", "Kronecker", "Flux"]
21 changes: 21 additions & 0 deletions test/Project.toml
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"