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.lite.tabular.
TabularPreset
Class for all tabular model presets.
name (str) – The preset to use.
metadata (dict or metadata.Table) – Table metadata instance or dict representation.
constraints (list[Constraint, dict]) – List of Constraint objects or dicts.
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([name, metadata, constraints])
Initialize self.
fit(data)
fit
Fit this model to the data.
list_available_presets([out])
list_available_presets
List the available presets and their descriptions.
load(path)
load
Load a TabularModel instance from a given path.
sample(num_rows[, randomize_samples, …])
sample
Sample rows from this table.
sample_conditions(conditions[, …])
sample_conditions
Sample rows from this table with the given conditions.
sample_remaining_columns(known_columns[, …])
sample_remaining_columns
save(path)
save
Save this model instance to the given path using cloudpickle.