Compass
poseigen_compass is the hyperparameter search and model-evaluation package in the Poseigen ecosystem. It generates candidate configurations, evaluates models across data splits and repeats, and supports ensembling and statistical assessment.
Installation
Requires Python 3.12 or newer. Install from PyPI:
python -m pip install poseigen_compass
Package
Compass's public helpers are re-exported from the poseigen_compass package:
- Candidate generation —
RandomCanGensamples continuous, integer, and categorical hyperparameter spaces. - Model evaluation —
StandardCanScorerscores a model with a selected metric, whileCanEvaluatorandRandomOptevaluate candidates across splits and repeats, with optional parallel execution. - Candidate selection —
TopCanranks candidates by their evaluation scores, andTopCanDictreturns the selected configurations. - Ensembling and uncertainty —
EnsembleScorercombines model predictions;Bootstrapper,BootstrapConfidenceInterval, andBootstrapStandardErrorsupport bootstrap-based assessment.
Compass uses poseigen_seaside for shared utilities and metrics. poseigen_oyster provides Oyster_BaseDict and Dual_Oyster_BaseDict search spaces for Compass.
Usage
RandomCanGen accepts a dictionary that defines the range or choices for each parameter:
import poseigen_compass as co
search_space = {
"learning_rate": [[1e-4, 1e-2], "float"],
"batch_size": [[16, 32, 64], "cat"],
"max_depth": [[2, 12], "int"],
}
candidates = co.RandomCanGen(search_space, num_can=20)
Pass the resulting candidates to RandomOpt to evaluate them with a model, data, and an optional set of splits.
Metadata
Release files for poseigen-compass 1.0.1
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 |
|---|---|---|---|---|
| poseigen_compass-1.0.1.tar.gz | 12.5 kB | With provenance | Details for poseigen_compass-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poseigen_compass-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for poseigen_compass-1.0.1-py3-none-any.whl |
Total release size: 24.0 kB
Release files / poseigen_compass-1.0.1.tar.gz
| Download URL | poseigen_compass-1.0.1.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9e9f4284071dc302a3b990387d1412e775344c1f8da435c97174b9253eb55c3
|
|
BLAKE2b-256 checksum How to use checksums |
763668b35564dd9a4ca9af013b916d555cd66e2493ac453a01f7f9716116c0f3
|
| 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 Nov 1, 2026.
Transparency logRelease files / poseigen_compass-1.0.1-py3-none-any.whl
| Download URL | poseigen_compass-1.0.1-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48501d84fd17a67251a35517b9146a6ece05be335c466df72b295f883c1a1764
|
|
BLAKE2b-256 checksum How to use checksums |
3cf5c14b20c427e2898057732f7287bd2a5a7b6bf9e8a41efe4f591b2a82074f
|
| 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 Nov 1, 2026.
Transparency logSecurity for poseigen-compass 1.0.1
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for poseigen_compass-1.0.1.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 Nov 1, 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.