Skip to main content

Converting tabular data into images

Project description

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

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

data2image_alpha-0.2.0.tar.gz (54.2 MB view details)

Uploaded Source

Built Distribution

data2image_alpha-0.2.0-py3-none-any.whl (12.2 MB view details)

Uploaded Python 3

File details

Details for the file data2image_alpha-0.2.0.tar.gz.

File metadata

  • Download URL: data2image_alpha-0.2.0.tar.gz
  • Upload date:
  • Size: 54.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for data2image_alpha-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8513958a4407afe3edfaf957d547a4acb15ab64ed303b1cfa5ade42ad7589b82
MD5 6596869428c849a0ff744147a2bc2ab0
BLAKE2b-256 c8d3c512af012c49e5e5f63ddb0bcc3633361242731db0eae7d12b89dbad3066

See more details on using hashes here.

File details

Details for the file data2image_alpha-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for data2image_alpha-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ffd9492a8a8978ad39678b2bba1322be52ea9c1f3959b8afbf3fc4f22e2b26e
MD5 54ca8619a51d559705ff75880c9d849c
BLAKE2b-256 0981fc0a06db8b2cf45dfd08c2116ba8f7ec17b3b8e530e1ceac2a4a11a19838

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page