Skip to content

v0.11.0 - 2021-07-12

Compare
Choose a tag to compare
@npatki npatki released this 12 Jul 22:44

This release primarily addresses bugs and feature requests related to using constraints for the single-table models. Users can now enforce scalar comparison with the existing GreaterThan constraint and apply 5 new constraints: OneHotEncoding, Positive, Negative, Between and Rounding. Additionally, the SDV will now auto-apply constraints for rounding numerical values, and for keeping the data within the observed bounds. All related user guides are updated with the new functionality.

New Features

  • Add OneHotEncoding Constraint - Issue #303 by @fealho
  • GreaterThan Constraint should apply to scalars - Issue #410 by @amontanez24
  • Improve GreaterThan constraint - Issue #368 by @amontanez24
  • Add Non-negative and Positive constraints across multiple columns- Issue #409 by @amontanez24
  • Add Between values constraint - Issue #367 by @fealho
  • Ensure values fall within the specified range - Issue #423 by @amontanez24
  • Add Rounding constraint - Issue #482 by @katxiao
  • Add rounding and min/max arguments that are passed down to the NumericalTransformer - Issue #491 by @amontanez24

Bugs Fixed

  • GreaterThan constraint between Date columns rasises TypeError - Issue #421 by @amontanez24
  • GreaterThan constraint's transform strategy fails on columns that are not float - Issue #448 by @amontanez24
  • AttributeError on UniqueCombinations constraint with non-strings - Issue #196 by @katxiao
  • Use reject sampling to sample missing columns for constraints - Issue #435 by @amontanez24

Documentation Changes

  • Ensure privacy metrics are available in the API docs - Issue #458 by @fealho
  • Ensure formula constraint is called ColumnFormula everywhere in the docs - Issue #449 by @fealho