• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

georgeberry / blayers / 34137231372
97%
main: 97%

Build:
Build:
LAST BUILD BRANCH: v0.3.8
DEFAULT BRANCH: main
Ran 07 Sep 2026 03:34PM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Sep 2026 03:12PM UTC coverage: 97.008% (-1.2%) from 98.218%
34137231372

push

github

web-flow
0.3.6 (#44)

# Changelog

All notable changes to BLayers are documented here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project aims
to follow semantic versioning (with the usual 0.x caveat that minor releases
may carry breaking changes).

## 0.3.6

### Added

Three new additive regression layers, exported from `blayers`, with support for
full-batch VI, row-wise minibatched VI, and ordinary HMC/NUTS:

- **`RandomSlopesLayer`** adds partially pooled group-specific slope deviations:
  `u[g, j] ~ Normal(0, tau[j])`. Each predictor/output learns a pooling scale
  shared across groups. Population slopes belong in a separate layer;
  correlations between slope deviations are not estimated. Keep group IDs and
  the full group count fixed; unseen groups require slots reserved before fit.
- **`PSplineLayer`** learns a nonlinear curve using B-splines with Normal priors
  on second differences of neighboring coefficients. Each output learns its
  own smoothing scale. A separate proper prior handles the unpenalized
  coefficient trend, and anchoring at a fixed reference removes the constant
  component. With clamped/uneven knots, the coefficient trend is not necessarily
  exactly linear in the input. Reuse knots and reference across batches and
  prediction; outside the knot domain the curve holds its boundary value.
- **`AR1Layer`** adds stationary temporal effects:
  `theta[t] = rho * theta[t-1] + epsilon[t]`. Both persistence `rho` and innovation
  scale are learned per output and shared across periods. The default prior is
  `rho = 2*p - 1`, with `p ~ Beta(2, 2)`, allowing positive and negative
  persistence. The initial state has the stationary prior. Equally spaced
  integer time slots preserve missing periods and support forecasting through
  future slots reserved before fitting.
- README examples for composing all three layers with intercepts, population
  effects, and observation links, including prediction and ... (continued)

175 of 191 new or added lines in 4 files covered. (91.62%)

1 existing line in 1 file now uncovered.

1070 of 1103 relevant lines covered (97.01%)

0.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
97.65
-2.35% blayers/layers.py
4
96.04
-3.96% blayers/links.py
2
96.61
-3.39% blayers/vi_infer.py

Coverage Regressions

Lines Coverage ∆ File
1
93.82
-0.74% blayers/latex.py
Jobs
ID Job ID Ran Files Coverage
1 34137231372.1 07 Sep 2026 03:34PM UTC 9
97.01
GitHub Action Run
Source Files on build 34137231372
  • Tree
  • List 9
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b4ebbbf8 on github
  • Prev Build on main (#33264483600)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc