A Python package for tabular synthetic data
Project description
copula-tabular
Generate tabular synthetic data using Gaussian copulas
Overview
Advancements in synthetic data generation have made it a viable solution for applications in various fields, such as finance, biomedical research, and data science. Synthetic data is generated artificially, yet replicates the joint probability distribution of its real-world counterpart. Its ability to mimic the statistical behaviour of real data makes it a useful tool for testing algorithms, systems, and training machine learning models, and it can be used as an economical substitute for real data when it is not available, is too sensitive to release, or too costly to acquire. Copula-based data generation methods have been demonstrated to produce reliable and accurate tabular data when generating synthetic data.
In this package, we present a tool for generating multivariate synthetic data through the implementation of a Gaussian copula. This model incorporates conditional joint distributions into its framework, allowing for the splitting of single variables into multiple component marginal distributions. The conditional enhancements provides greater usability in the synthesis of complex, non-linear sample distributions, allowing for the replication of a wider range of datasets.
The tool is designed to work with a data dictionary, or a file describing the metadata of the input dataset. There are additional class-based implementations of data cleaning, visualisation tools, transformation tools, privacy leakage evaluation, and sample wrapper scripts for generating synthetic data from start to finish.
Example Result:
Figure showing correlation plots of a simulated multivariate dataset, containing non-trivial, non-linear and non-monotonic relationships. The left plot shows the original Pearson correlation between variables, while the middle and right plots show the correlation for synthetic data generated using standard copula and conditional copula respectively.
Figure showing superimposed scatterplots of the same simulated multivariate dataset, containing non-trivial, non-linear and non-monotonic relationships. The training, synthetic (standard copula), synthetic (conditional copula) data points are in blue, grey, and red respectively.
Documentation
For installation instructions, getting started guides and tutorials, background information, and API reference summaries, please see the website.
Contributing
Thank you for considering contributing to Synthia. Please follow this link for more details.
Development notes
Please visit the website for more details.
Copyright and license
Copyright 2023 BiomedDAR, BII, A*STAR. Licensed under MIT.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bdarpack-0.1.4.tar.gz
.
File metadata
- Download URL: bdarpack-0.1.4.tar.gz
- Upload date:
- Size: 64.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42642161c60afed7f4a5322ff49f0a3505c4a1ce162b55f3f8377ebaaf4beb1a |
|
MD5 | 6569039ba69399ce1e16ae4664746039 |
|
BLAKE2b-256 | d36e33b3a3cc1a9843d3002075d80e24c4a9b06355cffcd7543a100b6457b34c |
File details
Details for the file bdarpack-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: bdarpack-0.1.4-py3-none-any.whl
- Upload date:
- Size: 68.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93ae63dd6daee0797ea3cab9e4c4cbbbe202c16de1b461bb2baaf7f915c85ec8 |
|
MD5 | 03ef13177f321e1c0cc2a161889bee81 |
|
BLAKE2b-256 | 2202d59d9dc67d3d1910a5c83f92c457e0c20ad258acca7ea5275713d47ca8a7 |