Estimating the curvature of a manifold from data
Project description
KappaKit: Curvature Estimation on Data Manifolds with Diffusion-Augmented Sampling
kappakit is a Python library for estimating the curvature of a data manifold.
Curvature is the fundamental descriptor of local geometry—useful in shape analysis, learning theory, and non-Euclidean algorithms—yet it proves elusive to estimate on sparse, noisy data.
KappaKit offers a modular base framework for various curvature estimation methods. In particular, it supports training diffusion models via the HuggingFace API to increase the sample density for downstream estimation methods.
Installation
From pip:
pip install kappakit
From source:
git clone https://github.com/Weber-GeoML/kappakit.git
pip install -e .
Usage
This repository contains the experiment scripts to reproduce the paper Curvature Estimation on Data Manifolds with Diffusion-Augmented Sampling. If you use this repository, please use this paper as the citation.
You can reproduce the experiments by running scripts/experiments/all.sh. The figures in the paper were generated with scripts/experiments/generate_figures.ipynb.
A curvature estimation experiment may invoke the following routines in order:
kappakit.routines.create_datasetkappakit.routines.train_diffusion_modelkappakit.routines.estimate_curvature
Please refer to the documentation for the API reference as well as tutorials on how to use or expand this codebase.
Project details
Release history Release notifications | RSS feed
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 kappakit-0.1.0.tar.gz.
File metadata
- Download URL: kappakit-0.1.0.tar.gz
- Upload date:
- Size: 47.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
424e1443e434acd22c492bc417ddfe9f7eec1d7dd8398a7c701e29cba0aa7643
|
|
| MD5 |
dd5b6192ea575582de658b3fc120a85f
|
|
| BLAKE2b-256 |
fa7b07168e97790b07f8c8b02ec0647ccfe05a9d2fa4640a4a9d6a5dadc3b116
|
Provenance
The following attestation bundles were made for kappakit-0.1.0.tar.gz:
Publisher:
python-publish.yml on Weber-GeoML/kappakit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kappakit-0.1.0.tar.gz -
Subject digest:
424e1443e434acd22c492bc417ddfe9f7eec1d7dd8398a7c701e29cba0aa7643 - Sigstore transparency entry: 742981976
- Sigstore integration time:
-
Permalink:
Weber-GeoML/kappakit@59faecd786a7370a3afd66c7c9f6ee24855860c6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Weber-GeoML
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@59faecd786a7370a3afd66c7c9f6ee24855860c6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file kappakit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kappakit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 64.3 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 |
3c4c23f91de52f3e3cf161b64561fe35eb92ea8eabc8f90388cf37666c8e8d26
|
|
| MD5 |
985766e86eefb50ff1fee77f81ab09a6
|
|
| BLAKE2b-256 |
b20e902c1dc03cbadec0a022156f021c566171b6c2d98bd8a968855eecef51b1
|
Provenance
The following attestation bundles were made for kappakit-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on Weber-GeoML/kappakit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kappakit-0.1.0-py3-none-any.whl -
Subject digest:
3c4c23f91de52f3e3cf161b64561fe35eb92ea8eabc8f90388cf37666c8e8d26 - Sigstore transparency entry: 742982047
- Sigstore integration time:
-
Permalink:
Weber-GeoML/kappakit@59faecd786a7370a3afd66c7c9f6ee24855860c6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Weber-GeoML
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@59faecd786a7370a3afd66c7c9f6ee24855860c6 -
Trigger Event:
release
-
Statement type: