Formulaic

Latest version: v1.0.1

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.2.4

This is a minor release that fixes an issue whereby the `ModelSpec` instances attached to `ModelMatrix` objects would keep reference to the original data, greatly inflating the size of the `ModelSpec`. (Many thanks to mmacpherson for reporting!)

0.2.3

This release is identical to v0.2.2, except that the source distribution now includes the docs, license, and tox configuration.

0.2.2

This is a minor release with one bugfix.

- Fix pandas model matrix outputs when constants are generated as part of model matrix construction and the incoming dataframe has a custom rather than range index. (issue noted by CamDavidsonPilon)

0.2.1

This is a minor patch release that brings in some valuable improvements.

- Keep track of the pandas dataframe index if outputting a pandas `DataFrame`. (issue noted by CamDavidsonPilon)
- Fix using functions in formulae that are nested within a module or class. (issue noted by bashtage)
- Avoid crashing when an attempt is made to generate an empty model matrix. (PR from bashtage)
- Enriched setup.py with long description for a better experience on PyPI. (PR from bashtage)

0.2.0

This is major release that brings in a large number of improvements. The API is still not finalised (that will happen with the 1.0) release, and so be careful of API breakages brought in by subsequent major releases (e.g. v0.3.x). Many thanks to those who have contributed by testing or code submissions (including bashtage, griffiri, and CamDavidsonPilon).

**New Features and Improvements:**
- Enriched formula parser to support quoting, and evaluation of formulas involving fields with invalid Python names.
- Added commonly used stateful transformations (identity, center, scale, bs)
- Improved the helpfulness of error messages reported by the formula parser.
- Added support for basic calculus on formulas (useful when taking the gradient of linear models).
- Made it easier to extend Formulaic with additional materializers.
- Many internal improvements to code quality and reliability, including 100% test coverage.
- Added benchmarks for Formulaic against R and patsy.
- Added documentation.
- Miscellaneous other bugfixes and cleanups.

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.