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

Uploaded Python 3

File details

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

File metadata

  • Download URL: interpy_synth-0.1.3.tar.gz
  • Upload date:
  • Size: 1.9 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.3.tar.gz
Algorithm Hash digest
SHA256 6df716e7d5aa32a622f528c297ef326aadcd6c03bb2a7a7c09238c2934da4a5f
MD5 19a35c525abf24e455b85093ba428ea2
BLAKE2b-256 9a374f3285a2433c49c02a4aa43f34dab5299841a63822308efa1af3ca285282

See more details on using hashes here.

File details

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

File metadata

  • Download URL: interpy_synth-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3babac713187b8c0e4294af72513edb985300f49aca127891e820a2de5df1274
MD5 74bec07532d5f7c88431cfb6282e9244
BLAKE2b-256 f02ac37c2e7907dd22f073c8e5464f2dd5e118d545c6829443d83afbe768a6d3

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