synthcity.plugins.core.models.mbi.dataset module
- class Dataset(df, domain, weights=None)
Bases:
object
- datavector(flatten=True)
return the database in vector-of-counts form
- drop(cols)
- static load(path, domain)
Load data into a dataset object
- Parameters
path – path to csv file
domain – path to json file encoding the domain information
- project(cols)
project dataset onto a subset of columns
- property records
- static synthetic(domain, N)
Generate synthetic data conforming to the given domain
- Parameters
domain – The domain object
N – the number of individuals