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.4.tar.gz (1.8 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.4-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for interpy_synth-0.1.4.tar.gz
Algorithm Hash digest
SHA256 232ec698cd4e7e3e8a42cf469a0d96b679f5b655c8ef95fe0473e5431315864d
MD5 9167b80b1b4b37367f33230d91c85b99
BLAKE2b-256 605006ff427bb2a03353d86b5f8186f12f9598372cc70926011d4ff7dba7863f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: interpy_synth-0.1.4-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.11.14

File hashes

Hashes for interpy_synth-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 07d13499000ec28778db238751ec5052dbbc7188893db6e91cb1a2d22ddc03b1
MD5 aab5d7cef083dbfa1096297d3d7097dc
BLAKE2b-256 5718f1baaa1aaaf07e3980e5fac93423062d04515b15d1698d7ae17ef3d07e0a

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