Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiayuasu/synthetic-data-generator
Synthetic data generator for generating uniform/normal/exponential distribution data
https://github.com/jiayuasu/synthetic-data-generator
Last synced: about 1 month ago
JSON representation
Synthetic data generator for generating uniform/normal/exponential distribution data
- Host: GitHub
- URL: https://github.com/jiayuasu/synthetic-data-generator
- Owner: jiayuasu
- Created: 2016-03-30T01:29:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T19:34:31.000Z (almost 8 years ago)
- Last Synced: 2024-10-17T05:33:10.143Z (2 months ago)
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Synthetic-data-generator
Synthetic data generator for generating data follows uniform/normal/exponential distribution## Introduction
I was struggling for getting large scale synthetic data to do my experiments. I know there are people also face this issue. But they may not know how easy to write their own generator. This is a simple synthetic data generator. This data generator is able to generate random data follows uniform distribution and skewed data follows normal/exponential distribution.## How to get started
1. I assume you already get Python installed on your machine. If not, it is easy to get one.
2. Download generator.py.
3. Run generator.py:
```
python3 generator.py
```
4. Follow the instruction prompted on your screen.
5. Python will generate the output onto disk row by row. (This is good for generating large scale data). It also can append data to an existing output.csv.
6. output.csv will be shown at the same folder with the python script.output.csv uses the following schema:
```
+------------------------------+
| serial id | number | payload |
+------------------------------+
```
You are free to change the payload or even the scheme as you want.