Skip to main content

Data2Image

License Python Version Documentation Status Open In Colab

Data2Image is a state-of-the-art library that wraps the most important techniques for the construction of Synthetic Images from Sorted Data (also known as Tabular Data).

Features

  • Input data formats (2 options):

    • Pandas Dataframe
    • Files with the following format
      • Tabular files: The input data must be in CSV, taking into account the Tidy Data format.
      • Tidy Data: The target (variable to be predicted) should be set as the last column of the dataset. Therefore, the first columns will be the features.
      • All data must be in numerical form.
  • Runs on Linux, Windows and macOS systems.

  • Compatible with Python 3.7 or higher.

Models

Model Class Features Hyperparameters
TINTO tinto() blur problem algorithm pixels blur amplification distance steps option seed times verbose
SuperTML SuperTML() problem verbose
IGTD IGTD() problem scale fea_dost_method save_image_size max_step val_step error switch_t min_gain seed verbose

Documentation

Read the documentation.

Getting Started

You can install Data2Image using Pypi(test):

    pip install data2image-alpha

To import a specific model use

    from data2Image.models import tinto

Create the model. If you don't set any hyperparameter, the model will use the default values (read documentation).

    model = tinto(blur=True)

To generate the synthetic images use .genereateImages(data,folder) method.

    model.generateImages(data, resultsFolderPath)

License

Data2Image is available under the Apache License 2.0.

Authors

Metadata

Release files for data2image-alpha 0.2.0

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

Source distribution (sdist)

Source distribution for data2image-alpha 0.2.0
File Size Uploaded
data2image_alpha-0.2.0.tar.gz 54.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for data2image-alpha 0.2.0
File Interpreter ABI Platform
data2image_alpha-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 66.4 MB

Release files / data2image_alpha-0.2.0.tar.gz

Download URL data2image_alpha-0.2.0.tar.gz
Size 54.2 MB
Tags Source
SHA-256 checksum
How to use checksums
8513958a4407afe3edfaf957d547a4acb15ab64ed303b1cfa5ade42ad7589b82
BLAKE2b-256 checksum
How to use checksums
c8d3c512af012c49e5e5f63ddb0bcc3633361242731db0eae7d12b89dbad3066
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / data2image_alpha-0.2.0-py3-none-any.whl

Download URL data2image_alpha-0.2.0-py3-none-any.whl
Size 12.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6ffd9492a8a8978ad39678b2bba1322be52ea9c1f3959b8afbf3fc4f22e2b26e
BLAKE2b-256 checksum
How to use checksums
0981fc0a06db8b2cf45dfd08c2116ba8f7ec17b3b8e530e1ceac2a4a11a19838
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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