FixedCombinations
Last updated
Last updated
The FixedCombinations constraint enforces that the combinations between a set of columns are fixed. That is, no other permutations or shuffling is allowed other than what's already observed in the data.
Create a FixedCombinations
constraint.
Parameters:
(required) column_names
: A list of two or more columns whose combinations are fixed. The columns must be categorical. The SDV will not further shuffle the data between these column names.
table_name
: A string with the name of the table to apply this to. Required if you have a multi-table dataset.
Apply the constraint to any SDV synthesizer. Then fit and sample as usual.
If you would to only fix the combinations of the null values (and allow synthesizer to continue creating new permutations of the non-null values), please used the constraint instead.
For more information about using predefined constraints, please see the .