Skip to content

v0.0.8

Latest
Compare
Choose a tag to compare
@Nathaniel-Haines Nathaniel-Haines released this 24 Apr 13:39
· 18 commits to main since this release

v0.0.8 (2024-04-24)

Fix

  • fix: mypy and ruff (b327c19)

  • fix: discrete_covariate_info is a list not a set (c64bcd5)

  • fix(models): Fix _make_dummy_vars when new levels are passed.

_make_dummy_vars was failing when new levels were passed because
the new dummy_coded_df didn't always contain the new values
due to Python's string ordering behaviour. Additionally,
discrete_covariate_set was a set of values, and therefore
we could not ensure these were consistent with the order of
appearance in the training data. (26b50fe)

Unknown

  • Merge pull request #41 from LedgerInvesting/fix-new-discrete-covariates

fix: predicting on new discrete covariates levels (8308503)

  • ensure order is the same across training and pred dummies (9e52758)

  • generalize to > 1 discrete covariate (428f88a)