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

Uploaded Python 3

File details

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

File metadata

  • Download URL: interpy_synth-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 736831e602fb82baa019e82db25fb26bd5250baade2a0a02544302e9943b97d5
MD5 20de7af4d0272c5d7fabde4b7d83389d
BLAKE2b-256 c1f956e9c9faa46440a2c64fb07baafc7e4c5b41f1519b91c801d03a8240e390

See more details on using hashes here.

File details

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

File metadata

  • Download URL: interpy_synth-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3367c18b99b9a0dd416124b5a0423fa900a5ef42dac9092acce46d14cb45d1bd
MD5 b5bc85a8283ccc6128bade0e082b345c
BLAKE2b-256 3f5a26128b98cabb0882f43024d82ef82d933ff44c2cdcf29a699d30eb6b0d7d

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