Skip to main content

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

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) 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.0.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.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: interpy_synth-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 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.0.tar.gz
Algorithm Hash digest
SHA256 b114b756a579f991210d115e1e811cfbe3c9ea547a9b16dbf6c608c2d3e61363
MD5 2df0c89555ee252e43862240439899a4
BLAKE2b-256 77e730d73956dd87b36a25aa289b5f5d0d3053c400769b84363c5a6ef59c9860

See more details on using hashes here.

File details

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

File metadata

  • Download URL: interpy_synth-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 783131386d09a7d77c0bf3b8e302df35194d92dc8175741b4433b453a528c08f
MD5 fe3d42087b9a6cde1d2ad76a292a6efc
BLAKE2b-256 26a2701874fefba72c8f259f50702fb73921f1439b04efa912f215b24e8417ee

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