Skip to main content

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 compare and apexlab 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.0.

What ApexLab is for

ApexLab 1.1.0 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.0-py3-none-any.whl

The wheel and source distribution for 1.1.0 have now been build-verified and install smoke-tested locally.

Quick start

After installation:

  • python examples/simplex_regression_demo.py
  • python 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 out
  • apexlab 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.py
  • python 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 compare and apexlab report execution during the field test

Package lanes

  • src/apexlab/models/ — constrained model surfaces
  • src/apexlab/datasets/ — deterministic data split helpers
  • src/apexlab/evaluation/ — metrics, thresholds, and report generation
  • src/apexlab/diagnostics/ — training-history summaries
  • src/apexlab/utils/ — small reusable helpers
  • tests/ — focused behavior tests
  • examples/ — runnable demos using current package APIs

Dependency posture

ApexLab currently avoids heavyweight ML frameworks. There is no scikit-learn runtime dependency in 1.1.0.

Release posture

The 1.1.0 lane currently includes:

  • passing focused test coverage
  • comparison, regression, CLI-lite, and reporting expansion surfaces
  • reference validation against external baselines
  • confirmed field-test execution via examples/evaluation_demo.py
  • a clean active dist/ containing only 1.1.0 artifacts

More detail

  • docs/APEXLAB_TOOLKIT_AUTHORITATIVE_SCHEMATIC.md — authoritative package definitions
  • docs/API_OVERVIEW.md — current public Leg 1 API overview
  • docs/validation/REFERENCE_VALIDATION_20260324.md — public validation summary for the current Leg 2 analytical lane
  • docs/INITIAL_RELEASE_SCOPE.md — release-shape summary
  • docs/RELEASE_NOTES_DRAFT.md — current release notes draft for 1.1.0
  • docs/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

apexlab-1.1.0.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apexlab-1.1.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file apexlab-1.1.0.tar.gz.

File metadata

  • Download URL: apexlab-1.1.0.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for apexlab-1.1.0.tar.gz
Algorithm Hash digest
SHA256 09902ec9b751b9f609a6041ff40b26b86218c285db9a954f9e9839c9c269b5b9
MD5 0c67d3bf11bd23cefe969c01965bac70
BLAKE2b-256 7ddd771e34b97883abbece0954e503a5e88ae88d61dec3a45b025a7095f365de

See more details on using hashes here.

Provenance

The following attestation bundles were made for apexlab-1.1.0.tar.gz:

Publisher: publish.yml on joediggidyyy/apexlab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file apexlab-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: apexlab-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for apexlab-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e66223ce75d8d9d35b5876eedec6e78da7808e0b51b908f4aceb6eef9ca9ba39
MD5 8b45a028d17b81f0651933b7ca017273
BLAKE2b-256 56b4a646add3f13810dcd484f5d133e8827b5f282a5fefbd4063af9ba9239176

See more details on using hashes here.

Provenance

The following attestation bundles were made for apexlab-1.1.0-py3-none-any.whl:

Publisher: publish.yml on joediggidyyy/apexlab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page