Binning and split-generation methods for the Poseigen package family
Project description
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.
Related Projects
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poseigen_binmeths-0.1.3.tar.gz.
File metadata
- Download URL: poseigen_binmeths-0.1.3.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea64ac3418b87ffe925e700957709e3ea66708cb130777a819ab17ad8188e016
|
|
| MD5 |
0809135a1d82398bb0b669799f509ddb
|
|
| BLAKE2b-256 |
1bdfd782b672f4abbf65f7e992e2b3adf8e152322d6730fdf19a8dc1c42af48a
|
Provenance
The following attestation bundles were made for poseigen_binmeths-0.1.3.tar.gz:
Publisher:
release.yaml on Husam94/poseigen_binmeths
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
poseigen_binmeths-0.1.3.tar.gz -
Subject digest:
ea64ac3418b87ffe925e700957709e3ea66708cb130777a819ab17ad8188e016 - Sigstore transparency entry: 1710274165
- Sigstore integration time:
-
Permalink:
Husam94/poseigen_binmeths@c4766a9d0a88fb19f201424ceb40f6e100a0b9f8 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/Husam94
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@c4766a9d0a88fb19f201424ceb40f6e100a0b9f8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file poseigen_binmeths-0.1.3-py3-none-any.whl.
File metadata
- Download URL: poseigen_binmeths-0.1.3-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94c2aa23f8a48d0d81704366bbc008ba83061a91ddd3bcb3802ca3fa5a50b445
|
|
| MD5 |
123b5ce21373e1f9b17a29002e736897
|
|
| BLAKE2b-256 |
0d35de7fb7b66267e5c7c839601000f7fe9e9e5a16efcb0d0549fd5092941338
|
Provenance
The following attestation bundles were made for poseigen_binmeths-0.1.3-py3-none-any.whl:
Publisher:
release.yaml on Husam94/poseigen_binmeths
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
poseigen_binmeths-0.1.3-py3-none-any.whl -
Subject digest:
94c2aa23f8a48d0d81704366bbc008ba83061a91ddd3bcb3802ca3fa5a50b445 - Sigstore transparency entry: 1710274184
- Sigstore integration time:
-
Permalink:
Husam94/poseigen_binmeths@c4766a9d0a88fb19f201424ceb40f6e100a0b9f8 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/Husam94
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@c4766a9d0a88fb19f201424ceb40f6e100a0b9f8 -
Trigger Event:
push
-
Statement type: