Commit 9ba68a4
Flax/nnx backend (#440)
* add flax v0.8.0 to deps, temporarily from github main branch
* main gps objects as nnx modules
* integrators as nnx dataclasses and some static typing refactoring
* likelihoods as nnx dataclasses modules and some static typing refactoring
* small refactoring
* mean functions as nnx dataclasses modules and some refactoring
* bugfix
* objectives as nnx dataclasses modules
* variational families with nnx
* kernels base with nnx
* wip stationary kernels
* wip nonstationary kernels
* wip non euclidean kernels
* computations with nnx
* rff with nnx
* bugfix
* stationary kernels as normal classes
* nonstationary kernels as normal classes
* noneuclidean kernels as normal classes
* rff as standard class + stationary kernel abstract class for static typing
* started work on parameters
* more objects as normal classes
* gps as normal classes
* integrators as normal classes
* dataset is not a pytree
* removed superfluous inits
* register dataset as pytree
* use parameters here and there
* set active_dims default to 1
* start working on tests
* active_dims defaults to None
* rewrite objectives as functions
Co-authored-by: Daniel Dodd <[email protected]>
* black + isort
* remove objective from cite
* fix dataset repr
* pass tests for variational families
* active_dims defaults to None
* use generic Objective type
* small fixes
* make 'active_dims' required parameter, fix static typing and beartype for parameters, rewrite and pass tests for stationary kernels
* pass tests/test_kernels/test_computation.py
* rewrite tests for nonstationary kernels + pass tests
* adapt to nnx's explicit variables + miscellaneous fixes
* rewrite of objectives as simple functions, [WIP] started rewriting tests
* rewrite and pass tests for objectives
* rewrite fit function
* remove gpjax.base module
* remove base module tests
* rewrite and pass tests for fit
* finish kernels and pass all tests
* pass all tests except decision making
* pass all tests 🚀
* update and run classification notebook (python cells)
* pass doctests
* pass integration tests, more checks to parameters
* linting and formatting
* update barycentres and classification examples
* update project files
* update ruff and make it happy
* lint + format all doc examples
* [skip ci] change how dimensions are specified for kernels, update kernel tests
* [skip ci] api reference looks pretty now, implemented template pattern, improved docstrings
* [skip ci] wip - fixing math rendering in documentation - almost there
* Update notebooks. (#447)
* Update yacht.py
* Update likelihoods_guide.py
* Revert "Update likelihoods_guide.py"
This reverts commit 5f51cfe.
* Update oceanmodelling.py
* Update likelihoods.py (#446)
* Update likelihoods.py
* Update likelihoods.py
* Update likelihoods.py
* Adding tagged parameters and updated notebooks
* Update likelihoods.py (#446)
* Update likelihoods.py
* Update likelihoods.py
* Update likelihoods.py
* Update notebooks
* Fix linting
* Fix missing dep.
* Fix integration test
* Readd docs deps
* Fix docstrings
* Update lockfile
* Update parameter refs
* Fix broken tests
* Remove PyTrees doc
* Failing split order
* NNX update
* add flax v0.8.0 to deps, temporarily from github main branch
* main gps objects as nnx modules
* integrators as nnx dataclasses and some static typing refactoring
* likelihoods as nnx dataclasses modules and some static typing refactoring
* small refactoring
* mean functions as nnx dataclasses modules and some refactoring
* bugfix
* objectives as nnx dataclasses modules
* variational families with nnx
* kernels base with nnx
* wip stationary kernels
* wip nonstationary kernels
* wip non euclidean kernels
* computations with nnx
* rff with nnx
* bugfix
* stationary kernels as normal classes
* nonstationary kernels as normal classes
* noneuclidean kernels as normal classes
* rff as standard class + stationary kernel abstract class for static typing
* started work on parameters
* more objects as normal classes
* gps as normal classes
* integrators as normal classes
* dataset is not a pytree
* removed superfluous inits
* register dataset as pytree
* use parameters here and there
* set active_dims default to 1
* start working on tests
* active_dims defaults to None
* rewrite objectives as functions
Co-authored-by: Daniel Dodd <[email protected]>
* black + isort
* remove objective from cite
* fix dataset repr
* pass tests for variational families
* active_dims defaults to None
* use generic Objective type
* small fixes
* make 'active_dims' required parameter, fix static typing and beartype for parameters, rewrite and pass tests for stationary kernels
* pass tests/test_kernels/test_computation.py
* rewrite tests for nonstationary kernels + pass tests
* adapt to nnx's explicit variables + miscellaneous fixes
* rewrite of objectives as simple functions, [WIP] started rewriting tests
* rewrite and pass tests for objectives
* rewrite fit function
* remove gpjax.base module
* remove base module tests
* rewrite and pass tests for fit
* finish kernels and pass all tests
* pass all tests except decision making
* pass all tests 🚀
* update and run classification notebook (python cells)
* pass doctests
* pass integration tests, more checks to parameters
* linting and formatting
* update barycentres and classification examples
* update project files
* update ruff and make it happy
* lint + format all doc examples
* [skip ci] change how dimensions are specified for kernels, update kernel tests
* [skip ci] api reference looks pretty now, implemented template pattern, improved docstrings
* [skip ci] wip - fixing math rendering in documentation - almost there
* Update notebooks. (#447)
* Update yacht.py
* Update likelihoods_guide.py
* Revert "Update likelihoods_guide.py"
This reverts commit 5f51cfe.
* Update oceanmodelling.py
* Update likelihoods.py (#446)
* Update likelihoods.py
* Update likelihoods.py
* Update likelihoods.py
* Update notebooks
* Adding tagged parameters and updated notebooks
* Fix linting
* Fix missing dep.
* Fix integration test
* Readd docs deps
* Fix docstrings
* Update lockfile
* Update parameter refs
* Fix broken tests
* Remove PyTrees doc
* Failing split order
* NNX update
* rename static dir
* move examples dir in top level
* add _examples generated dir to gitignore
* update pyproject deps
* update mkdocs config
* add examples generation script
* adapt relative paths in md files
* Update Ruff and incorporate changes
* update github workflow for building doc, without executing notebookf for now
* Add backend doc
* Add backend doc
* Add backend doc
* Add replace to transform
* Merge with main
* Update parameters docstring
* Respond to comments
* Fix e2e tests
* Fix mplstyle refs
* bump deps
* Update poetry
* Update poetry
* Fix shutil
* Drop flax base
* add scikit-learn dependency for docs
* bugfix: change directory before running jupytext
* use local mpl style file
* do not use MCMC for classification (it is *very* slow)
* [skip-ci] update github workflows for docs
* Fix split
* Fix split
* Fix split
* Fix xdoctest
* Fix doc
* Add serial build
* Update parameters transform and backend doc
* Update parameters transform and backend doc
* Bump Python
---------
Signed-off-by: Thomas Pinder <[email protected]>
Co-authored-by: Daniel Dodd <[email protected]>
Co-authored-by: Daniel Dodd <[email protected]>
Co-authored-by: Thomas Pinder <[email protected]>
Co-authored-by: Thomas-Christie <[email protected]>1 parent 7ae0adf commit 9ba68a4
File tree
139 files changed
+6152
-9642
lines changed- .github/workflows
- benchmarks
- docs
- examples
- javascripts
- scripts
- static
- css
- jaxkern
- stylesheets
- examples
- barycentres
- data
- intro_to_gps
- gpjax
- base
- decision_making
- test_functions
- utility_functions
- kernels
- approximations
- computations
- non_euclidean
- nonstationary
- stationary
- tests
- test_base
- test_decision_making
- test_kernels
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
139 files changed
+6152
-9642
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 55 | | |
61 | 56 | | |
62 | | - | |
63 | 57 | | |
64 | 58 | | |
65 | | - | |
| 59 | + | |
66 | 60 | | |
67 | 61 | | |
68 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 36 | | |
51 | 37 | | |
52 | 38 | | |
53 | 39 | | |
54 | | - | |
| 40 | + | |
55 | 41 | | |
56 | 42 | | |
57 | 43 | | |
58 | 44 | | |
59 | 45 | | |
60 | 46 | | |
61 | | - | |
62 | 47 | | |
63 | 48 | | |
64 | | - | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 148 | | |
153 | 149 | | |
154 | 150 | | |
155 | | - | |
| 151 | + | |
156 | 152 | | |
157 | 153 | | |
158 | 154 | | |
| |||
Whitespace-only changes.
This file was deleted.
This file was deleted.
0 commit comments