ApexLab machine learning toolkit
Project description
ApexLab
ApexLab is a lean standalone Python package for practical machine-learning utilities.
The current public package now spans a lean Leg 1 core plus the first Leg 2 analysis/reporting expansion. ApexLab currently focuses on:
- simplex-constrained regression via
ApexRegressor - statistical comparison helpers (
Mann-Whitney U,KS two-sample,Welch t-test,Cohen's d) - lightweight OLS and binary logistic regression helpers
- deterministic dataset splitting with optional stratification
- regression and classification metrics
- threshold selection and anomaly-style score evaluation
- lightweight JSON/Markdown report emission
- lite CLI support for
apexlab compareandapexlab report
The design goal is simple: ship a small, coherent toolkit first, then broaden it in later legs without dragging in a kitchen sink of dependencies. At the moment, numpy is the only non-stdlib runtime dependency.
Current shipped-version target: 1.1.1.
What ApexLab is for
ApexLab 1.1.1 is aimed at small, reproducible ML workflows where you want lightweight numerical tooling without depending on a full framework stack. The current release is especially suited to:
- constrained linear modeling experiments
- distribution-comparison and effect-size review
- lightweight explanatory regression analysis
- deterministic train/test split generation
- compact evaluation and reporting flows
- threshold-based score review for anomaly-style or binary decisions
Current status
The repository is past pure scaffolding and now contains working Leg 1 modules, runnable examples, focused tests, and validated source/wheel build artifacts.
Install
For development from projects/apexlab/:
pip install -e .
For a release artifact install:
pip install dist/apexlab-1.1.1-py3-none-any.whl
The wheel and source distribution for 1.1.1 should be treated as the active patch-release artifact lane.
Quick start
After installation:
python examples/simplex_regression_demo.pypython examples/evaluation_demo.py
Or, after installing the package entry point:
apexlab compare --sample-a 1,2,3 --sample-b 4,5,6 --out-dir outapexlab report --input out/compare_report.json --out-dir out/rerendered
The first demo trains a simplex-constrained regressor and prints learned weights plus a convergence summary. The second demo computes metrics, evaluates a thresholded score surface, and writes paired JSON/Markdown report output.
The evaluation demo now also acts as the canonical field test surface for the current Leg 1 + Leg 2 lite package lane.
Quick examples
From projects/apexlab/:
python examples/simplex_regression_demo.pypython examples/evaluation_demo.py
Representative demo output includes:
- simplex demo learning weights close to
[0.6, 0.3, 0.1] - evaluation demo producing regression metrics, classification accuracy, comparison artifacts, and paired JSON/Markdown report files
- successful
apexlab compareandapexlab reportexecution during the field test
Package lanes
src/apexlab/models/— constrained model surfacessrc/apexlab/datasets/— deterministic data split helperssrc/apexlab/evaluation/— metrics, thresholds, and report generationsrc/apexlab/diagnostics/— training-history summariessrc/apexlab/utils/— small reusable helperstests/— focused behavior testsexamples/— runnable demos using current package APIs
Dependency posture
ApexLab currently avoids heavyweight ML frameworks. There is no scikit-learn runtime dependency in 1.1.1.
Release posture
The 1.1.1 lane currently includes:
- passing focused test coverage
- comparison, regression, CLI-lite, and reporting expansion surfaces
- CLI version-flag support via
apexlab --versionandapexlab -v - reference validation against external baselines
- confirmed field-test execution via
examples/evaluation_demo.py - a release workflow that can skip already-published files during reruns
More detail
docs/APEXLAB_TOOLKIT_AUTHORITATIVE_SCHEMATIC.md— authoritative package definitionsdocs/API_OVERVIEW.md— current public Leg 1 API overviewdocs/validation/REFERENCE_VALIDATION_20260324.md— public validation summary for the current Leg 2 analytical lanedocs/INITIAL_RELEASE_SCOPE.md— release-shape summarydocs/RELEASE_NOTES_DRAFT.md— current release notes draft for1.1.1docs/PUBLISH_CHECKLIST.md— compact pre-publish checklist
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
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 apexlab-1.1.1.tar.gz.
File metadata
- Download URL: apexlab-1.1.1.tar.gz
- Upload date:
- Size: 50.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d56ca50b0cd397a4629d6b0efa8767de66d4fa0f4e3d2c417fc38b900c04c728
|
|
| MD5 |
f4959eaabf6e7a21857bf05ff350c5cf
|
|
| BLAKE2b-256 |
84732e826b4b071b858733c1ee335712b33035127514630a49da0c2dcc6e3ddb
|
Provenance
The following attestation bundles were made for apexlab-1.1.1.tar.gz:
Publisher:
publish.yml on joediggidyyy/apexlab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apexlab-1.1.1.tar.gz -
Subject digest:
d56ca50b0cd397a4629d6b0efa8767de66d4fa0f4e3d2c417fc38b900c04c728 - Sigstore transparency entry: 1178870154
- Sigstore integration time:
-
Permalink:
joediggidyyy/apexlab@b09bc32c8dbda1ffa189ca6e5696682d59780ea5 -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/joediggidyyy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b09bc32c8dbda1ffa189ca6e5696682d59780ea5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file apexlab-1.1.1-py3-none-any.whl.
File metadata
- Download URL: apexlab-1.1.1-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e279b76aa7eb47852bb626f6d3c5c9dd9c1081be469301dd6c5cac8e694189e
|
|
| MD5 |
924bd5e834ebb687a00797fb4c355e80
|
|
| BLAKE2b-256 |
9363dc789be7dd95791de48ac8933d3362590889f08a905843c513cfb3f088f8
|
Provenance
The following attestation bundles were made for apexlab-1.1.1-py3-none-any.whl:
Publisher:
publish.yml on joediggidyyy/apexlab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apexlab-1.1.1-py3-none-any.whl -
Subject digest:
9e279b76aa7eb47852bb626f6d3c5c9dd9c1081be469301dd6c5cac8e694189e - Sigstore transparency entry: 1178870158
- Sigstore integration time:
-
Permalink:
joediggidyyy/apexlab@b09bc32c8dbda1ffa189ca6e5696682d59780ea5 -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/joediggidyyy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b09bc32c8dbda1ffa189ca6e5696682d59780ea5 -
Trigger Event:
release
-
Statement type: