Skip to content

Commit

Permalink
Merge branch 'main' into weights
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto authored Nov 24, 2023
2 parents 733ac43 + 8dd25b1 commit 7e977a5
Show file tree
Hide file tree
Showing 6 changed files with 1,505 additions and 187 deletions.
5 changes: 3 additions & 2 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ website:
logo: "logos/RGB/Bambi_logo.png"
logo-alt: "bambi-home"
right:
- text: Reference
- text: Getting Started
href: notebooks/getting_started.ipynb
- text: API Reference
href: api/index.html
- text: Examples
href: notebooks/index.qmd
Expand Down Expand Up @@ -86,7 +88,6 @@ website:
- notebooks/plot_predictions.ipynb
- notebooks/plot_comparisons.ipynb
- notebooks/plot_slopes.ipynb
- notebooks/survival_models.ipynb

quartodoc:
style: pkgdown
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pagetitle: "Changelog"

### New features

* Add configuration facilities to Bambi (#745)
* Interpet submodule now outputs informative messages when computing default values (#745)

### Maintenance and fixes

### Documentation
Expand Down
523 changes: 350 additions & 173 deletions docs/notebooks/getting_started.ipynb

Large diffs are not rendered by default.

243 changes: 240 additions & 3 deletions docs/notebooks/hsgp_1d.ipynb

Large diffs are not rendered by default.

917 changes: 909 additions & 8 deletions docs/notebooks/hsgp_2d.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,6 @@ def test_predict_new_groups(data, formula, family, df_new, request):
model.predict(idata, data=df_new, sample_new_groups=True)



def test_weighted():
weights = 1 + np.random.poisson(lam=3, size=100)
y = np.random.exponential(scale=3, size=100)
Expand Down

0 comments on commit 7e977a5

Please sign in to comment.