Skip to content

Commit be212f8

Browse files
committed
chore: Update ydata-synthetic docs
Add more information regarding the change to ydata-sdk.
1 parent 2f67331 commit be212f8

42 files changed

Lines changed: 193 additions & 402 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 41 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![](https://img.shields.io/github/workflow/status/ydataai/ydata-synthetic/prerelease)
22
![](https://img.shields.io/pypi/status/ydata-synthetic)
33
[![](https://pepy.tech/badge/ydata-synthetic)](https://pypi.org/project/ydata-synthetic/)
4-
![](https://img.shields.io/badge/python-3.9%20%7C%203.10-blue)
4+
![](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
55
[![](https://img.shields.io/pypi/v/ydata-synthetic)](https://pypi.org/project/ydata-synthetic/)
66
![](https://img.shields.io/github/license/ydataai/ydata-synthetic)
77
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=ab07c7a0-c1ee-481e-9368-baf70185cf40" />
@@ -11,14 +11,15 @@
1111
Join us on [![Discord](https://img.shields.io/badge/Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white)](https://tiny.ydata.ai/dcai-ydata-synthetic)
1212

1313
# YData Synthetic
14-
A package to generate synthetic tabular and time-series data leveraging the state of the art generative models.
15-
16-
## 🎊 The exciting features:
17-
> These are must try features when it comes to synthetic data generation:
18-
> - A new streamlit app that delivers the synthetic data generation experience with a UI interface. A low code experience for the quick generation of synthetic data
19-
> - A new fast synthetic data generation model based on Gaussian Mixture. So you can quickstart in the world of synthetic data generation without the need for a GPU.
20-
> - A conditional architecture for tabular data: CTGAN, which will make the process of synthetic data generation easier and with higher quality!
21-
14+
`YData-Synthetic` is an open-source package developed in 2020 with the primary goal of educating users about generative models for synthetic data generation.
15+
Designed as a collection of models, it was intended for exploratory studies and educational purposes.
16+
However, it was not optimized for the quality, performance, and scalability needs typically required by organizations.
17+
18+
!!! note "Update"
19+
Even though the journey was fun, and we have learned a lot from the community it is now time to upgrade `ydata-synthetic`.
20+
Heading towards the future of synthetic data generation we recommend users to transition to `ydata-sdk`, which provides a superior experience with enhanced performance,
21+
precision, and ease of use, making it the preferred tool for synthetic data generation and a perfect introduction to Generative AI.
22+
2223
## Synthetic data
2324
### What is synthetic data?
2425
Synthetic data is artificially generated data that is not collected from real world events. It replicates the statistical components of real data without containing any identifiable information, ensuring individuals' privacy.
@@ -32,68 +33,50 @@ Synthetic data can be used for many applications:
3233

3334
> **Looking for an end-to-end solution to Synthetic Data Generation?**<br>
3435
> [YData Fabric](https://ydata.ai/products/synthetic_data) enables the generation of high-quality datasets within a full UI experience, from data preparation to synthetic data generation and evaluation.<br>
35-
> Check out the [Community Version](https://ydata.ai/ydata-fabric-free-trial).
36-
37-
38-
# ydata-synthetic
39-
This repository contains material related with architectures and models for synthetic data, from Generative Adversarial Networks (GANs) to Gaussian Mixtures.
40-
The repo includes a full ecosystem for synthetic data generation, that includes different models for the generation of synthetic structure data and time-series.
41-
All the Deep Learning models are implemented leveraging Tensorflow 2.0.
42-
Several example Jupyter Notebooks and Python scripts are included, to show how to use the different architectures.
43-
44-
Are you ready to learn more about synthetic data and the bext-practices for synthetic data generation?
45-
46-
## Quickstart
47-
The source code is currently hosted on GitHub at: https://github.com/ydataai/ydata-synthetic
48-
49-
Binary installers for the latest released version are available at the [Python Package Index (PyPI).](https://pypi.org/project/ydata-synthetic/)
50-
```commandline
51-
pip install ydata-synthetic
52-
```
36+
> Check out the [Community Version](https://ydata.ai/register).
5337
54-
### The UI guide for synthetic data generation
5538

56-
YData synthetic has now a UI interface to guide you through the steps and inputs to generate structure tabular data.
57-
The streamlit app is available form *v1.0.0* onwards, and supports the following flows:
58-
- Train a synthesizer model
59-
- Generate & profile synthetic data samples
39+
## ydata-synthetic to ydata-sdk
40+
With the upcoming update of `ydata-synthetic`to `ydata-sdk`, users will now have access to a single API that automatically selects and optimizes
41+
the best generative model for their data. This streamlined approach eliminates the need to choose between
42+
various models manually, as the API intelligently identifies the optimal model based on the specific dataset and use case.
6043

61-
#### Installation
44+
Instead of having to manually select from models such as:
6245

63-
```commandline
64-
pip install ydata-synthetic[streamlit]
65-
```
66-
#### Quickstart
67-
Use the code snippet below in a python file (Jupyter Notebooks are not supported):
68-
```python
69-
from ydata_synthetic import streamlit_app
46+
- [GAN](https://arxiv.org/abs/1406.2661)
47+
- [CGAN](https://arxiv.org/abs/1411.1784) (Conditional GAN)
48+
- [WGAN](https://arxiv.org/abs/1701.07875) (Wasserstein GAN)
49+
- [WGAN-GP](https://arxiv.org/abs/1704.00028) (Wassertein GAN with Gradient Penalty)
50+
- [DRAGAN](https://arxiv.org/pdf/1705.07215.pdf) (Deep Regret Analytic GAN)
51+
- [Cramer GAN](https://arxiv.org/abs/1705.10743) (Cramer Distance Solution to Biased Wasserstein Gradients)
52+
- [CWGAN-GP](https://cameronfabbri.github.io/papers/conditionalWGAN.pdf) (Conditional Wassertein GAN with Gradient Penalty)
53+
- [CTGAN](https://arxiv.org/pdf/1907.00503.pdf) (Conditional Tabular GAN)
54+
- [TimeGAN](https://papers.nips.cc/paper/2019/file/c9efe5f26cd17ba6216bbe2a7d26d490-Paper.pdf) (specifically for *time-series* data)
55+
- [DoppelGANger](https://dl.acm.org/doi/pdf/10.1145/3419394.3423643) (specifically for *time-series* data)
7056

71-
streamlit_app.run()
72-
```
57+
The new API handles model selection automatically, optimizing for the best performance in fidelity, utility, and privacy.
58+
This significantly simplifies the synthetic data generation process, ensuring that users get the highest quality output without
59+
the need for manual intervention and tiring hyperparameter tuning.
7360

74-
Or use the file streamlit_app.py that can be found in the [examples folder](https://github.com/ydataai/ydata-synthetic/tree/master/examples/streamlit_app.py).
61+
Are you ready to learn more about synthetic data and the best-practices for synthetic data generation?
62+
For more materials on [synthetic data generation with Python see the documentation](https://docs.fabric.ydata.ai/latest/sdk/).
7563

64+
## Quickstart
65+
Binary installers for the latest released version are available at the [Python Package Index (PyPI).](https://pypi.org/project/ydata-sdk/)
7666
```commandline
77-
python -m streamlit_app
67+
pip install ydata-sdk
7868
```
7969

80-
The below models are supported:
81-
- CGAN
82-
- WGAN
83-
- WGANGP
84-
- DRAGAN
85-
- CRAMER
86-
- CTGAN
70+
### The UI guide for synthetic data generation
8771

88-
[![Watch the video](assets/streamlit_app.png)](https://youtu.be/ep0PhwsFx0A)
72+
YData Fabric offers an UI interface to guide you through the steps and inputs to generate structure data.
73+
You can experiment today with [YData Fabric by registering the Community version](https://ydata.ai/register).
8974

9075
### Examples
9176
Here you can find usage examples of the package and models to synthesize tabular data.
92-
- Fast tabular data synthesis on adult census income dataset [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ydataai/ydata-synthetic/blob/master/examples/regular/models/Fast_Adult_Census_Income_Data.ipynb)
93-
- Tabular synthetic data generation with CTGAN on adult census income dataset [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ydataai/ydata-synthetic/blob/master/examples/regular/models/CTGAN_Adult_Census_Income_Data.ipynb)
94-
- Time Series synthetic data generation with TimeGAN on stock dataset [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ydataai/ydata-synthetic/blob/master/examples/timeseries/TimeGAN_Synthetic_stock_data.ipynb)
95-
- Time Series synthetic data generation with DoppelGANger on FCC MBA dataset [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ydataai/ydata-synthetic/blob/master/examples/timeseries/DoppelGANger_FCC_MBA_Dataset.ipynb)
96-
- More examples are continuously added and can be found in `/examples` directory.
77+
- Tabular [synthetic data generation on Titanic Kaggle dataset](https://github.com/ydataai/ydata-sdk/blob/main/examples/synthesizers/regular_quickstart.py)
78+
- Time Series [synthetic data generation]('https://github.com/ydataai/ydata-sdk/blob/main/examples/synthesizers/time_series_quickstart.py')
79+
- More examples are continuously added and can be found in [examples directory](https://github.com/ydataai/ydata-sdk/tree/main/examples).
9780

9881
### Datasets for you to experiment
9982
Here are some example datasets for you to try with the synthesizers:
@@ -108,7 +91,7 @@ Here are some example datasets for you to try with the synthesizers:
10891

10992
## Project Resources
11093

111-
In this repository you can find the several GAN architectures that are used to create synthesizers:
94+
Find below useful literature of how to generate synthetic data and available generative models:
11295

11396
### Tabular data
11497
- [GAN](https://arxiv.org/abs/1406.2661)
@@ -125,11 +108,6 @@ In this repository you can find the several GAN architectures that are used to c
125108
- [TimeGAN](https://papers.nips.cc/paper/2019/file/c9efe5f26cd17ba6216bbe2a7d26d490-Paper.pdf)
126109
- [DoppelGANger](https://dl.acm.org/doi/pdf/10.1145/3419394.3423643)
127110

128-
## Contributing
129-
We are open to collaboration! If you want to start contributing you only need to:
130-
1. Search for an issue in which you would like to work. Issues for newcomers are labeled with good first issue.
131-
2. Create a PR solving the issue.
132-
3. We would review every PRs and either accept or ask for revisions.
133111

134112
## Support
135113
For support in using this library, please join our Discord server. Our Discord community is very friendly and great about quickly answering questions about the use and development of the library. [Click here to join our Discord community!](https://tiny.ydata.ai/dcai-ydata-synthetic)
Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11

2-
`ydata-synthetic` is available through PyPi, allowing an easy process of installation and integration with the data science programing environments (Google Colab, Jupyter Notebooks, Visual Studio Code, PyCharm) and stack (`pandas`, `numpy`, `scikit-learn`).
2+
`ydata-sdk` is available through PyPi, allowing an easy process of installation and integration with the data science programing environments (Google Colab, Jupyter Notebooks, Visual Studio Code, PyCharm) and stack (`pandas`, `numpy`, `scikit-learn`).
33

44
##Installing the package
5-
Currently, the package supports **python versions over 3.9**, and can be installed in Windows, Linux or MacOS operating systems.
5+
Currently, the package supports **python versions over 3.9 and up-to python 3.12**, and can be installed in Windows, Linux or MacOS operating systems.
66

77
Prior to the package installation, it is recommended the creation of a virtual or `conda` environment:
88

99
=== "conda"
1010
``` commandline
11-
conda create -n synth-env python=3.10
11+
conda create -n synth-env python=3.12
1212
conda activate synth-env
1313
```
1414

15-
The above command creates and activates a new environment called "synth-env" with Python version 3.10.X. In the new environment, you can then install `ydata-synthetic`:
15+
The above command creates and activates a new environment called "synth-env" with Python version 3.12.X. In the new environment, you can then install `ydata-sdk`:
1616

1717
=== "pypi"
1818
``` commandline
19-
pip install ydata-synthetic==1.1.0
19+
pip install ydata-sdk
2020
```
2121

2222
:fontawesome-brands-youtube:{ style="color: #EE0F0F" }
@@ -27,20 +27,7 @@ The above command creates and activates a new environment called "synth-env" wit
2727
To install inside a Google Colab notebook, you can use the following:
2828

2929
``` commandline
30-
!pip install ydata-synthetic==1.1.0
30+
!pip install ydata-sdk
3131
```
3232

33-
Make sure your Google Colab is running Python versions `>=3.9, <3.11`. Learn how to configure Python versions on Google Colab [here](https://stackoverflow.com/questions/68657341/how-can-i-update-google-colabs-python-version/68658479#68658479).
34-
35-
36-
## Installing the Streamlit App
37-
Since version 1.0.0, the `ydata-synthetic` includes a GUI experience provided by a Streamlit app. The UI supports the data synthesization process from reading the data to profiling the synthetic data generation, and can be installed as follows:
38-
39-
``` commandline
40-
pip install "ydata-synthetic[streamlit]"
41-
```
42-
43-
Note that Jupyter or Colab Notebooks are not yet supported, so use it in your Python environment.
44-
45-
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=dd69a9f9-0901-4cb4-9e56-b1e69877dca1" />
46-
33+
Make sure your Google Colab is running Python versions `>=3.9, <=3.12`. Learn how to configure Python versions on Google Colab [here](https://stackoverflow.com/questions/68657341/how-can-i-update-google-colabs-python-version/68658479#68658479).

docs/getting-started/quickstart.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)