Skip to content

Conversation

@ckrapu
Copy link
Contributor

@ckrapu ckrapu commented Dec 21, 2025

Updates the notebook on using a Gaussian process with heteroskedastic variance to conform to the style guide and run successfully on v5.

Updates the code to use PyTensor and includes some edits for minor grammar issues.

Relevant issues: #795 #169 #723

Helpful links

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ckrapu ckrapu changed the title Update heteroskedastic gp nb Update heteroskedastic Gaussian process notebook Dec 21, 2025
@ckrapu
Copy link
Contributor Author

ckrapu commented Dec 21, 2025

One note on the style - Instead of using idata.posterior.stack, I used .reshape(-1, len(...)). If this should be changed, let me know.

@ckrapu ckrapu force-pushed the update-heteroskedastic-gp-nb branch from 2e7d4a6 to 01543f6 Compare December 21, 2025 23:55
@ckrapu
Copy link
Contributor Author

ckrapu commented Dec 21, 2025

This PR passes the pre-commit checks on GitHub Actions when changing python-version: '3.13' in pre-commit.yml.

@OriolAbril, I was seeing the same precommit failures as you mentioned on #822. As best as I can tell, it's a compatibility issue between Python 3.14.2 and pyupgrade.

@ckrapu ckrapu marked this pull request as ready for review December 22, 2025 14:48
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.

1 participant