Danger You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software Click here to go to the new docs pages.
Danger
You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software
Click here to go to the new docs pages.
sdv.
SDV
Automated generative modeling and sampling tool.
Allows the users to generate synthetic data after creating generative models for their data.
model (type) – Class of the model to use. Defaults to sdv.relational.HMA1.
sdv.relational.HMA1
model_kwargs (dict) – Keyword arguments to pass to the model. If no model is given, this defaults to using a GaussianCopula with gaussian distribution and FrequencyEncoder_noised categorical transformer.
model
GaussianCopula
gaussian
FrequencyEncoder_noised
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([model, model_kwargs])
Initialize self.
fit(metadata[, tables, root_path])
fit
Fit this SDV instance to the dataset data.
load(path)
load
Load a SDV instance from a given path.
sample([table_name, num_rows, …])
sample
Generate synthetic data for one table or the entire dataset.
sample_all([num_rows, reset_primary_keys])
sample_all
Sample the entire dataset.
save(path)
save
Save this SDV instance to the given path using cloudpickle.
Attributes
DEFAULT_MODEL_KWARGS