Skip to content

Commit

Permalink
Add polynomial regression example (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjburch committed Apr 27, 2024
1 parent b5aefcf commit a8fb6e7
Show file tree
Hide file tree
Showing 8 changed files with 5,448 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ website:
- notebooks/shooter_crossed_random_ANOVA.ipynb
- notebooks/t_regression.ipynb
- notebooks/predict_new_groups.ipynb
- notebooks/polynomial_regression.ipynb
- section: Generalized linear models
contents:
- notebooks/logistic_regression.ipynb
Expand All @@ -83,6 +84,7 @@ website:
- notebooks/hsgp_1d.ipynb
- notebooks/hsgp_2d.ipynb
- notebooks/survival_model.ipynb
- notebooks/orthogonal_polynomial_reg.ipynb
- section: Tools to interpret model outputs
contents:
- notebooks/plot_predictions.ipynb
Expand Down
10 changes: 10 additions & 0 deletions docs/changelog.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,21 @@ pagetitle: "Changelog"

* Add configuration facilities to Bambi (#745)
* Interpet submodule now outputs informative messages when computing default values (#745)
* Bambi supports weighted responses (#761)
* Bambi supports constrained responses (#764)
* Implement `compute_log_likelihood()` method to compute the log likelihood on a model (#769)

### Maintenance and fixes

* Fix bug in predictions with models using HSGP (#780)
* Fix `get_model_covariates()` utility function (#801)
* Upgrade PyMC dependency to >= 5.13 (#803)
* Use `pm.compute_deterministics()` to compute deterministics when bayeux based samplers are used (#803)

### Documentation

* Our Code of Conduct now includes how to send a report (#783)

### Deprecation

## 0.13.0
Expand Down
8 changes: 8 additions & 0 deletions docs/notebooks/gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
subtitle: With Hierarchical models
href: predict_new_groups.ipynb
thumbnail: thumbnails/predict_new_group.png
- title: Polynomial regression
subtitle: Learning gravity with Bayesian stats
href: polynomial_regression.ipynb
thumbnail: thumbnails/polynomial_regression.png
- category: Generalized Linear Models
description: ""
tiles:
Expand Down Expand Up @@ -115,6 +119,10 @@
subtitle: Model censored data
href: survival_model.ipynb
thumbnail: thumbnails/survival_adoption_times.png
- title: Orthogonal Polynomial regression
subtitle: Polynomials that avoid multicollinearity
href: orthogonal_polynomial_reg.ipynb
thumbnail: thumbnails/orthogonal_polynomial_reg.png
- category: Tools to interpret model outputs
description: ""
tiles:
Expand Down
3,366 changes: 3,366 additions & 0 deletions docs/notebooks/orthogonal_polynomial_reg.ipynb

Large diffs are not rendered by default.

2,061 changes: 2,061 additions & 0 deletions docs/notebooks/polynomial_regression.ipynb

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/objects.json

Large diffs are not rendered by default.

0 comments on commit a8fb6e7

Please sign in to comment.