First observed in #2241: If I have a numerical, sequential column with a particular rounding scheme, I would expect that all SDV synthesizers will learn the rounding scheme and ensure the synthetic data that is produced has the same. But this is not the case for PARSynthesizer.
Steps to reproduce
In the example below, the numerical column col_A is always rounded to 2 digits. Observe how the synthetic data does not follow that scheme.
Observe also that other synthesizers such as the GaussianCopula are able to correctly learn the rounding scheme and produce synthetic data that is correctly formatted.
from sdv.single_table import GaussianCopulaSynthesizer
synthesizer = GaussianCopulaSynthesizer(metadata)
synthesizer.fit(data)
synthesizer.sample(num_rows=5)
Environment Details
Error Description
First observed in #2241: If I have a numerical, sequential column with a particular rounding scheme, I would expect that all SDV synthesizers will learn the rounding scheme and ensure the synthetic data that is produced has the same. But this is not the case for PARSynthesizer.
Steps to reproduce
In the example below, the numerical column
col_A
is always rounded to 2 digits. Observe how the synthetic data does not follow that scheme.Additional Context
Observe also that other synthesizers such as the GaussianCopula are able to correctly learn the rounding scheme and produce synthetic data that is correctly formatted.