Skip to content
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 heteroskedastic GP notebook to v5 #701

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

fonnesbeck
Copy link
Member

@fonnesbeck fonnesbeck commented Sep 12, 2024

Update code to PyMC v5


📚 Documentation preview 📚: https://pymc-examples--701.org.readthedocs.build/en/701/

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@fonnesbeck fonnesbeck marked this pull request as ready for review December 20, 2024 15:15
@fonnesbeck fonnesbeck requested a review from bwengals December 20, 2024 15:15
NathanielF and others added 20 commits December 20, 2024 09:39
* First commit CFA and SEM

Signed-off-by: Nathaniel <[email protected]>

* test pre-commit hooks

Signed-off-by: Nathaniel <[email protected]>

* updated for pre-commit

Signed-off-by: Nathaniel <[email protected]>

* updated git index

Signed-off-by: Nathaniel <[email protected]>

* update with full run

Signed-off-by: Nathaniel <[email protected]>

* add some text write up and a pair plot

Signed-off-by: Nathaniel <[email protected]>

* update with full run and text

Signed-off-by: Nathaniel <[email protected]>

* Run with explained variance calculations

Signed-off-by: Nathaniel <[email protected]>

* Add sem structure section

Signed-off-by: Nathaniel <[email protected]>

* full run with lavaan syntax noted

Signed-off-by: Nathaniel <[email protected]>

* update with draft conclusion

Signed-off-by: Nathaniel <[email protected]>

* tigher writing

Signed-off-by: Nathaniel <[email protected]>

* tidying

Signed-off-by: Nathaniel <[email protected]>

* emphasis on exchangeability

Signed-off-by: Nathaniel <[email protected]>

* update plot sizes

Signed-off-by: Nathaniel <[email protected]>

* add pearl reference

Signed-off-by: Nathaniel <[email protected]>

* updating with Chris's comments and better parameterisation

Signed-off-by: Nathaniel <[email protected]>

---------

Signed-off-by: Nathaniel <[email protected]>
* fix img path issues

* fix img path issues

* fix img path issues
* + added new notebook GLM-ordinal-features.ipynb
+ already complete and created in another env

* Created using Colab

* minor updates for latest seaborn

* Tweaks for collab and included authors

* added header

* + added new reference article and online
+ cited inside Notebook
+ adjusted errata

* + ran black again...

* + rep Burkner as B{\"u}rkner

* + maybe fixed readthedocs complaint pybtex.database.InvalidNameString: Too many commas in 'B{\\"u}rkner, P., & Charpentier, E.'

* + ran black-jupyter, let's see

* + another run of black-jupyter

* + installed local pymc_examples env
+ ran pre-commit in full
+ autocreated *.myst file

* + update tags

* + possibly persuaded the precommits to all pass

* + rerun on colab to confirm all good post new pre-commit process

* + okay, reran in colab again... lets see if this passes

* + added (again) the myst.md

* + minor updates post review
+ new work to positively include a coeff in mdlb for d450 = c4

* + reran precommit and readded myst.md

* + rerun localyl e2e

* + added myst.md again

* + reran again to ensure cell execution order even for markdown cells

* + reran again again to ensure order

* + minor update: forced addtional level c4 into d450 categorical feature
+ fixed a couple of typos

* + changed rating to intermediate
* Draft update of BNN notebook

* Pre-commit fixes

* Address reviewer comments

* Additional edits

* Removed bivariate example; updated formatting

* Updated GEV

* Changed pymc_experimental to pymc_extras

---------

Co-authored-by: Chris Fonnesbeck <[email protected]>
…ymc-devs#753)

* + take a new up-to-date branch off master and dump in new NB missing values in covariates
+ update NB with various minor improvements following PR review in the old branch pymc-devs#722
+ additional typos etc

* + ran pre-commit autoupdate

* + ran precommit on new NB, created myst file
* replaced all pymc potential with pymc censored

* removed gumbel_sf function that is not being used

* added rng to samplers

* put back seeds for sampling data observations

---------

Co-authored-by: Jonathan Dekermanjian <[email protected]>
* fixed bug introduced by rasterio update

* added extra dependencies into metadata file

* updated notebook metadata with dependencies

---------

Co-authored-by: Jonathan Dekermanjian <[email protected]>
…it hooks (pymc-devs#719)

* Fix Minibatch alignment in Bayesian Neural Network example

* Run: pre-commit run all-files

---------

Co-authored-by: Deepak CH <[email protected]>
+ reformat CONTRIBUTING.md
…it hooks (pymc-devs#719)

* Fix Minibatch alignment in Bayesian Neural Network example

* Run: pre-commit run all-files

---------

Co-authored-by: Deepak CH <[email protected]>
@fonnesbeck
Copy link
Member Author

Sparse coregion example still not working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants