Skip to main content

SyGNetSyGNet Mascot

Synthetic data using Generative Adversarial Networks

Principal Investigator: Dr Thomas Robinson (thomas.robinson@durham.ac.uk)

Research team: Artem Nesterov, Maksim Zubok

example workflow

sygnet ("sig·net") is a Python package for generating synthetic data within social science contexts. The sygnet algorithm uses cutting-edge advances in deep learning methods to learn the underlying relationships between variables in a dataset. Users can then generate brand-new, synthetic observations that mimic the real data.

Installation

To install via pip, you can run the following command at the command line: pip install sygnet

sygnet requires:

numpy>=1.21
torch>=1.10.0
scikit-learn>=1.0
pandas>=1.4
datetime
tqdm

Example implementation

You can find a demonstration of sygnet under examples/basic_example.

Current version: 0.0.13 (alpha release)

Alpha release: You should expect both functionality and pipelines to change (rapidly and without warning). Comments and bug reports are very welcome!

Replacing linear with sigmoid activation functions to facilitate better training, given automatic scaling of data to 0-1 space.

Previous releases

0.0.12

Minor documentation updates including README.

0.0.11

  • Bug fix in sampling method

0.0.10

  • Minor patch to allow for conda-forge release

0.0.9

  • Rewrite of main interface and underlying functions
  • Bulding models now structured in terms of hidden "blocks"
  • Added self-attention mechanism

0.0.8

  • Update tune() to provide no k-fold cross validation as default
  • Update numpy dependency to fix pre-processing bug

0.0.7

  • Update internal train_* functions to return losses and improve logging
  • Update tune() function

0.0.6 and 0.0.5

  • Internal changes to improve code efficiency
  • Removes sygnet_ from all submodule names
  • Lowers PyTorch requirement to 1.10 for compatability with OpenCE environments

0.0.4

  • Adds tune() function to run hyperparameter tuning
  • Adds model saving functionality to SygnetModel.fit()
  • Fixes various bugs
  • Improves documentation

0.0.3

  • Fixes column ordering issue when using mixed activation layer
  • Updates example

0.0.2

  • Fixes mixed activation bug where final layer wasn't sent to device
  • Adds SygnetModel.transform() alias for SygnetModel.sample()

0.0.1 Our first release! This version has been lightly tested and the core functionality has been implemented.

Metadata

Release files for sygnet 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sygnet 0.0.13
File Size Uploaded
sygnet-0.0.13.tar.gz 5.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sygnet 0.0.13
File Interpreter ABI Platform
sygnet-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 MB

Release files / sygnet-0.0.13.tar.gz

Download URL sygnet-0.0.13.tar.gz
Size 5.7 MB
Tags Source
SHA-256 checksum
How to use checksums
4fe32d6d07ab1a1a85b748906164911a1d4ae64ccdbd32c5b786a05fdc71c023
BLAKE2b-256 checksum
How to use checksums
58243748335d838ba02d1c7ff28b52a715137e8453ffb22550e4e08d16aa91aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / sygnet-0.0.13-py3-none-any.whl

Download URL sygnet-0.0.13-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
baf21420b93c02cdbe5c1530b3f47fafb97e29713e4b09f7a2aac811ae92ea87
BLAKE2b-256 checksum
How to use checksums
1a12a79ea517e8893e5ecce8e20292c1b7bb9882472e8be3c94351598b26038a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page