Skip to main content

TopoGeoML

Version

1. What this is and what problem it solves

TopoGeoML 0.0.11 is beta scientific software. This version distributes the post-0.0.8 differentiable cubical persistence and essential-H1 tie corrections; public APIs can change before 1.0. This corrective patch preserves the autograd path when a topology loss is exactly zero (PR #128). It does not change the empirical research conclusions.

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.

Research authorship: Santiago Maniches (ORCID 0009-0005-6480-1987) is the sole scientific author of the research contributions and directs this project's development and publication. AI-assisted tools have supported coding, tests, documentation, and internal review; they do not constitute additional scientific authorship or external validation. The upstream libraries and established methods are credited below.

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.11}.

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.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for topogeoml 0.0.11
File Size Uploaded Provenance Actions
topogeoml-0.0.11.tar.gz 425.3 kB With provenance Details for topogeoml-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for topogeoml 0.0.11
File Interpreter ABI Platform Actions
topogeoml-0.0.11-py3-none-any.whl Python 3 none any Details for topogeoml-0.0.11-py3-none-any.whl

Total release size: 494.4 kB

Release files / topogeoml-0.0.11.tar.gz

Download URL topogeoml-0.0.11.tar.gz
Size 425.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4cc95b9e29715d473ae0dc9d9aa6fbb1903afe63773cd5acc34388db3955d68e
BLAKE2b-256 checksum
How to use checksums
6ebbc4fd943d9e6006725e735fecdfd794f1c1b53c0e452a9f48d1bd6e849dc7
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 4, 2026.

Transparency log

Release files / topogeoml-0.0.11-py3-none-any.whl

Download URL topogeoml-0.0.11-py3-none-any.whl
Size 69.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11e2a1373a2be357bb3722a2c5497a8002694fbe96e36675e8bd728a6921ffb6
BLAKE2b-256 checksum
How to use checksums
29c71c70ee23e7b2206fdab0f8d5c37f53af1bc99238d1504fce18403ac3230d
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 4, 2026.

Transparency log

Security for topogeoml 0.0.11

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for topogeoml-0.0.11.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 4, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page