-
Notifications
You must be signed in to change notification settings - Fork 54
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
Update notebooks. #447
Merged
Merged
Update notebooks. #447
Conversation
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
thomaspinder
pushed a commit
that referenced
this pull request
Jul 9, 2024
* Update yacht.py * Update likelihoods_guide.py * Revert "Update likelihoods_guide.py" This reverts commit 5f51cfe. * Update oceanmodelling.py
thomaspinder
added a commit
that referenced
this pull request
Aug 16, 2024
* 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 <d.dodd1@lancaster.ac.uk> * 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 <d.dodd1@lancaster.ac.uk> * 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 <tompinder@live.co.uk> Co-authored-by: Daniel Dodd <d.dodd1@lancaster.ac.uk> Co-authored-by: Daniel Dodd <daniel_dodd@icloud.com> Co-authored-by: Thomas Pinder <tompinder@live.co.uk> Co-authored-by: Thomas-Christie <thomashamish@hotmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Type of changes
Checklist
poetry run pre-commit run --all-files --show-diff-on-failure
before committing.Description
Please describe your changes here. If this fixes a bug, please link to the issue, if possible.
Issue Number: N/A