Skip to main content

Binmeths

This package implements methods explored in the Binning Methods paper. poseigen_binmeths is the binning and split-generation package in the Poseigen family. It provides utilities for bin construction, bin statistics, balanced sampling, and train/validation/test split strategies used across Poseigen workflows.

Features

poseigen_binmeths is organized into three modules:

  • bin_utils: bin parsing and assignment, histogram utilities, objective binning helpers, bin counts and densities, and weighted bin selection.
  • split_utils: split generation utilities including random, window, stratified, and akin-based scoring/split selection methods.
  • harpoon: balanced per-bin samplers including NumPy and PyTorch implementations, plus overlapping-bin sampling helpers.

Find Epoch Sampling poseigen_trident.

Binning methods are used in the following case studies:

Installation

Install from PyPI:

pip install poseigen_binmeths

For local development, install from source using your preferred editable-install workflow.

Usage

Import from the package namespace (bin utilities are re-exported):

import poseigen_binmeths as pbm

Or import modules directly:

import poseigen_binmeths.bin_utils as bu
import poseigen_binmeths.split_utils as su
import poseigen_binmeths.harpoon as harp

Example: histogram binning and a random split.

import numpy as np
import poseigen_binmeths.bin_utils as bu
import poseigen_binmeths.split_utils as su

x = np.random.randn(1000)
bind = bu.HistBinning(x, bins=20)
train_idx, test_idx = su.SplitGen_Random(len(bind), proportions=[0.8, 0.2])

Project Status

poseigen_binmeths is in active development and is intended to support binning and sampling workflows across the Poseigen ecosystem.

  • poseigen_seaside: shared utilities and metrics foundation.
  • poseigen_trident: model training workflows, including epoch sampling integrations.

License

This project is released under the MIT License.

Metadata

Release files for poseigen-binmeths 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poseigen-binmeths 1.0.0
File Size Uploaded Provenance Actions
poseigen_binmeths-1.0.0.tar.gz 17.8 kB With provenance Details for poseigen_binmeths-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for poseigen-binmeths 1.0.0
File Interpreter ABI Platform Actions
poseigen_binmeths-1.0.0-py3-none-any.whl Python 3 none any Details for poseigen_binmeths-1.0.0-py3-none-any.whl

Total release size: 35.6 kB

Release files / poseigen_binmeths-1.0.0.tar.gz

Download URL poseigen_binmeths-1.0.0.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b45fb0c6c611c71a06e51220a4a529e64362e043a6e00a1990ab05777bbfadfd
BLAKE2b-256 checksum
How to use checksums
5e1994a67ec668264bd0dbcf98736c34e83d99bf1f21b2e0fa901b7af832c5d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 22, 2026.

Transparency log

Release files / poseigen_binmeths-1.0.0-py3-none-any.whl

Download URL poseigen_binmeths-1.0.0-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76673ba7d402875d3dd211fc3654be6dc0f21f9ae1692c8078d23b236286ba22
BLAKE2b-256 checksum
How to use checksums
525fdf7996a962922c50132cd13ddc54a959620f623b4d0bac8ce4778d08af76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 22, 2026.

Transparency log

Security for poseigen-binmeths 1.0.0

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.

Select from 2 files

Attestation for poseigen_binmeths-1.0.0.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 22, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page