Skip to main content

Synthetic 5D→1D dataset generator used by interpy_bg and fivedreg_tf.

Project description

interpy_synth

Lightweight synthetic data generator for 5D → 1D regression workloads. Provides helper functions to create NumPy arrays or persist pickles with metadata. Used by both the NumPy (interpy_bg) and TensorFlow (fivedreg_tf) packages, but can be installed standalone.

Installation

pip install interpy-synth
# or from this repo:
# pip install git+https://github.com/barongracias/InterPyApp.git#egg=interpy-synth&subdirectory=backend/interpy_synth

Usage

from interpy_synth import synthetic_5d, synthetic_5d_pickle

X, y = synthetic_5d(1000, seed=42)
path = synthetic_5d_pickle("outputs_numpy/synth.pkl", n=1000, seed=42)

synthetic_5d returns float32 arrays shaped (n, 5) and (n, 1).
synthetic_5d_pickle writes a pickle with X, y, and metadata (feature names, seed, timestamp).

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

interpy_synth-0.1.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interpy_synth-0.1.2-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file interpy_synth-0.1.2.tar.gz.

File metadata

  • Download URL: interpy_synth-0.1.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for interpy_synth-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7d67b5d28403f76902e65398e3d462690261bca149c460f581b34ddcafd1efdd
MD5 47511be50bb3a15774a119e75e8d0b57
BLAKE2b-256 b6b857c3e81765455bb50e6c4624ecbb00f131b0d63a312fcc2c452d4aa40ae0

See more details on using hashes here.

File details

Details for the file interpy_synth-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: interpy_synth-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for interpy_synth-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d14cd13a671310c3d72e90883fc8a99ef096d3324268186bd4c1b996300af5ea
MD5 d6e24045e9f66ea9ae684bfc0eaf9680
BLAKE2b-256 04d8f1cdcb3ba4a4d76bcf3581cb8f563247586f251d251175a61f6e96a9eaad

See more details on using hashes here.

Supported by

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