This release is a pre-release and may not be stable for production use.
omnibias-difference
Differentiate the samples you have. Sample locations and weights determine the discrete operator.
Static poster · Narrow-screen animation · How this visual is computed
Sample locations, values and an extraction order enter; stencil coefficients, derivative estimates and scoped remainder information leave. Use this package when the source is discrete data or an exact recurrence rather than a trainable tensor network.
The animation uses computed outputs to explain this package. Frame transitions are illustrative unless a training step is explicitly identified; it is not a performance comparison.
API reference · Source · Tests · Talk to Derivon
The mathematical connection
This package exposes the finite-spacing side of bias collapse. Normalized weighted shifts approach derivatives as the spacing vanishes; at nonzero spacing, truncation and cancellation must still be assessed. Its umbral and exact recurrence tools also operate algebraically. Temperature collapse does not define this sampling contract.
Run this README
The examples use omnibias-difference on Python >=3.10. Their installed-wheel
profile selects runtime features, not an editable workspace. Install the prepared
prerelease from PyPI:
python -m pip install --pre "omnibias-difference==0.1.0a2"
For local development before publication, build and test the coordinated wheelhouse using the release guide. The package's wheel profile executes the examples below outside the source checkout.
Existing published consumers may need historical primitive versions; see the compatibility policy.
Why this package exists
Sampled data and discrete sequences need a different register from an analytic neural activation. Difference makes the step size, stencil and algebra explicit. You can construct irregular derivative estimates, reason about their truncation bounds, or recover exact rational recurrence candidates from a finite sequence.
What you can build
- Irregular stencil construction and moment identities.
- Finite-step estimates with separately supplied regularity and remainder information.
- Umbral algebra, series transforms and one canonical exact recurrence fitter.
Use stencils when you have samples; use activation towers when you have a supported analytic model. Use recurrence fitting to propose compact sequence laws for symbolic or holonomic workflows. Keeping these modes separate prevents a numerical difference estimate from being presented as an exact derivative.
A working example
from math import factorial
from omnibias.difference.recurrence import discover_recurrence
relation = discover_recurrence([factorial(n) for n in range(11)])
assert relation is not None
assert relation.order == 1
assert relation.max_abs_residual([factorial(n) for n in range(16)]) == 0
print(relation.coefficients) # exact rational coefficients for a_n - n*a_(n-1)
Choose the right contract
A finite prefix can fit multiple recurrences. A zero residual on supplied samples is not a proof for all sequence indices; use held-out values and an independent identity argument. Likewise, a truncation certificate depends on its derivative bounds and does not automatically account for every floating-point error.
Explore and validate
The API guide contains the generated module/export inventory. Use it to find the focused implementation rather than guessing a symbol from another package. The capability map connects the primitives to larger scientific workflows.
From the main repository, run the package’s regression suite:
uv run pytest packages/omnibias-difference/tests -q
License
Apache-2.0. See LICENSE and the licensing policy.
Metadata
Release files for omnibias-difference 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omnibias_difference-0.1.0a2.tar.gz | 82.6 kB | With provenance | Details for omnibias_difference-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omnibias_difference-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for omnibias_difference-0.1.0a2-py3-none-any.whl |
Total release size: 152.1 kB
Release files / omnibias_difference-0.1.0a2.tar.gz
| Download URL | omnibias_difference-0.1.0a2.tar.gz |
|---|---|
| Size | 82.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae50865a62ce5d0b06574629181de5ab7d968a147d1c03d34171a1bc02d36e8e
|
|
BLAKE2b-256 checksum How to use checksums |
d8637d579d5e9e1ab09356eff28baa3df7ccd2ac0f3be510b6784b601d34f8fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logRelease files / omnibias_difference-0.1.0a2-py3-none-any.whl
| Download URL | omnibias_difference-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 69.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e4cba36d59545eb9815380e3bb923aae7dee1d318980260ac10a6af327fe127
|
|
BLAKE2b-256 checksum How to use checksums |
62893e940004a48a1c0ca0962a726728bdd3f0fa435cfdd0c2d8e1a0c617d54b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logSecurity for omnibias-difference 0.1.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for omnibias_difference-0.1.0a2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.