Skip to main content

Light Weight Homology Framework

Project description

LHF: Lightweight Homology Framework

LHF is a homology framework designed for enabling modular pipelines for preprocessing and experiments around computing persistent homology. The base pipelines enable LHF to compute persistence intervals of an input point cloud by evaluating the distance matrix, building the simplicial complex, and reducing the complex to identify the persistence intervals at different dimensions.

Additional pipelines have been created for preprocessing, approximations of the boundary matrix, approximate simplicial complexes representing the input point cloud, boundary extraction, and upscaling based on previous studies detailed in several of the references below. The intent for LHF is to provide a modular framework to continue exploring, developing, and evaluating mechanisms for approximating or optimizing the computation of persistent homology over an input point cloud.


REQUIREMENTS

  • C++14

  • CMake

  • OpenMPI (if build / run for distributed)

  • Numpy


Installing

$ pip install lhf

RUNNING

S    python3 -m pyLHF <Arguments>

ARGUMENTS

Argument Shorthand Description Default
"--preprocessor" "-pre" Preprocessing Method None
"--clusters" "-k" Number of preprocessing clusters 5
"--dimensions" "-d" Max dimensions to run at 3
"--epsilon" "-e" Epsilon value for simplicial complexes 5
"--lambda" "-l" Lambda value (decay factor) for DenStream .25
"--mode" "-m" Mode to run LHF in (fast, slidingwindow, upscaling, etc.) default
"--complexType" "-c" Simplicial complex constructed SimplexArrayList
"--inputFile" "-i" File to read into pipeline None
"--outputFile" "-o" File to output to None
"--debug" "-x" Debug mode 0

EXAMPLES:

$    python3 -m pyLHF -m fast --inputFile testData.csv
$    python3 -m pyLHF --pipeline distMatrix.distMatrix.distMatrix -i testData.csv -o output.csv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

lhf-1.0.2-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file lhf-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: lhf-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5

File hashes

Hashes for lhf-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e6f5fa1549891f5d54e14e815972407b49295fc9408e231396f23f1d2cf5212
MD5 de251179067ef6f4afe6f5d2ee626117
BLAKE2b-256 4382314364ac62a32e9f2d1fe1bc4d4213a17be0f8ed7e8422a9e6d7ce65109c

See more details on using hashes here.

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