Skip to content

Releases: bambinos/formulae

Release 0.3.0

11 Mar 14:19
Compare
Choose a tag to compare

Changes

New features

  • We can create our own encodings such as Treatment or Sum encoding. These are subclasses of Encoding.
  • Added two aliases T and S that are shorthands of C(var, Treatment) and C(var, Sum) respectively.
  • DesignVector, CommonEffectsMatrix and GroupEffectsMatrix now retrieve their values when passed to np.array() and np.asarray().
  • Add poly() stateful transform.
  • na_action in design_matrices() can be "pass" which means not to drop or raise error about missing values. It just keeps them (#69)
  • design_matrices() gains a new argument extra_namespace. It allows us to pass a dictionary of transformations that are made available in the environment where the formula is evaluated (#70)

Maintenance and fixes

  • Fixed a bug in the addition of lower order terms when the original higher order term wasn't full-rank.
  • Columns for categorical terms are integer by default. They are casted to float only if there are other float-valued columns in the design matrix.
  • Updated str and repr methods of ResponseVector, CommonEffectsMatrix, and GroupEffectsMatrix.
  • Added str and repr methods for DesignMatrices.
  • Added get_item method for DesignMatrices.
  • Added support for comparison operators within function calls.

Release 0.2.0

15 Sep 19:06
f5ea0ec
Compare
Choose a tag to compare

Changes:

  • We have splines via bs().
  • We don't use Python's eval() anymore.
  • Minor bug fixes and internal changes.

Release 0.1.4

09 Aug 15:25
38fd967
Compare
Choose a tag to compare

Release needed for Bambi 0.6.0

v0.1.3

02 Aug 14:29
1807226
Compare
Choose a tag to compare

Revert changes. This is the same as v0.1.1. The last release (v0.1.2) has some breaking changes that haven't been updated in Bambi yet.

Release 0.1.2

30 Jul 21:53
2deb95f
Compare
Choose a tag to compare

This release includes changes that will allow us to have binomial and multinomial families and offset terms.

Patch release

18 Jun 22:37
6332da7
Compare
Choose a tag to compare

Fixes the shape of the group-specific effects matrix.

Release 0.1.0

12 Jun 17:10
025f90e
Compare
Choose a tag to compare

Making a new release. I'm using 0.1.0 because, as far as I'm aware, there are no hidden bugs now.
Also, I need this new release to merge a PR in Bambi that does fix tricky bugs.

Release 0.0.10

10 May 18:55
becfff0
Compare
Choose a tag to compare

First release on Github. This release also tests if GitHub actions properly uploads the package to PyPI.