TopoGeoML
1. What this is and what problem it solves
TopoGeoML 0.0.8 is beta scientific software. This version includes post-0.0.7 correctness fixes; public APIs can change before 1.0.
TopoGeoML is a Python library for using topology in machine learning. It turns point clouds into fixed-length features for scikit-learn, constructs simplicial and Hodge operators, and provides experimental topology losses for PyTorch. The repository also contains a separate graph-classification research record. These are different deliverables: a working library does not imply a positive research result.
2. Why existing approaches fall short
A persistence engine returns birth–death intervals, not a fitted feature transformer, a training loss, or an auditable experiment. Connecting these pieces by hand risks mixing training and evaluation data or assigning gradients to the wrong critical edges. TopoGeoML supplies those connections; it does not replace the underlying numerical libraries.
3. What is genuinely new and what is inherited
The repository-specific work is the assembly of train-fitted feature calibration, typed diagram provenance, optional PyTorch critical-value routing, simplicial operators, and evidence-oriented experiment runners. Vietoris–Rips persistent homology comes from ripser; the optional cubical and tied-generator computations use GUDHI (Geometry Understanding in Higher Dimensions); classical numerical and model interfaces come from NumPy, SciPy, scikit-learn, NetworkX, and PyTorch. Persistence images, Betti curves, and Hodge Laplacians are established methods. The code and test record do not establish a new topology theorem or superiority over competing toolkits. To cite this release, use CITATION.cff with version = {0.0.8}.
4. Quickstart
Use Python 3.11 or 3.12, Git, an internet connection for installation, and a Portable Operating System Interface (POSIX) shell (Linux/macOS). Run these commands exactly, starting outside the repository:
git clone https://github.com/smaniches/TopoGeoML.git
cd TopoGeoML
python3 -m venv .venv
. .venv/bin/activate
python -m pip install .
python examples/circles_vs_lines.py
A successful run prints Building synthetic dataset, cross-validation and training scores, and a Fit provenance block. Those scores are observations from your run, not guaranteed benchmark targets. This installs the current checkout, which can differ from the most recently published package version. Windows commands and the smaller direct application programming interface (API) example are in Usage.
5. Where it breaks
Vietoris–Rips complexes can become expensive for large point clouds; topology summaries discard information; and feature calibration must be learned only on training data. The differentiable one-dimensional homology path rejects ambiguous critical-edge gradients by default rather than inventing a derivative. Explicit GUDHI tie selection does not prove a unique derivative. The graph study includes invalidated, negative, and unfinished experiments. See Limitations before relying on scientific or scaling claims.
6. Technical documentation
Architecture · Design decisions · Limitations · Usage and troubleshooting
Research evidence and reproduction: Status · Claims to evidence · Reproducing results.
Metadata
Release files for topogeoml 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| topogeoml-0.0.8.tar.gz | 417.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| topogeoml-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 485.6 kB
Release files / topogeoml-0.0.8.tar.gz
| Download URL | topogeoml-0.0.8.tar.gz |
|---|---|
| Size | 417.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae1e0667af789acede40eb30f020a03782d705dc21d135478c9075beb2ec4879
|
|
BLAKE2b-256 checksum How to use checksums |
92f7c4f1b742fef573c467253c7ecb550f2da3290010acb3a386940f2263d238
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 11, 2026.
Transparency logRelease files / topogeoml-0.0.8-py3-none-any.whl
| Download URL | topogeoml-0.0.8-py3-none-any.whl |
|---|---|
| Size | 68.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a4a835ab37d623e1715b3b80c61c90deef1cc425e99999945ed65e86cf4d2dd
|
|
BLAKE2b-256 checksum How to use checksums |
3c93fd8d588e276e443b298f39a1b586083fca77ed32a67271bcc6a328580d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 11, 2026.
Transparency log