Releases: bambinos/formulae
Releases · bambinos/formulae
Release 0.3.0
Changes
New features
- We can create our own encodings such as Treatment or Sum encoding. These are subclasses of
Encoding
. - Added two aliases
T
andS
that are shorthands ofC(var, Treatment)
andC(var, Sum)
respectively. - DesignVector, CommonEffectsMatrix and GroupEffectsMatrix now retrieve their values when passed to
np.array()
andnp.asarray()
. - Add
poly()
stateful transform. na_action
indesign_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 argumentextra_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
, andGroupEffectsMatrix
. - 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
Changes:
- We have splines via
bs()
. - We don't use Python's
eval()
anymore. - Minor bug fixes and internal changes.
Release 0.1.4
Release needed for Bambi 0.6.0
v0.1.3
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
This release includes changes that will allow us to have binomial and multinomial families and offset terms.
Patch release
Fixes the shape of the group-specific effects matrix.
Release 0.1.0
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
First release on Github. This release also tests if GitHub actions properly uploads the package to PyPI.