Skip to main content

Tools for finding gaps and valleys in data distribution with a twice-differentiable density estimator with finite support.

Project description

FindTheGap

This package provides tools for geometric data analysis, targeted at finding gaps and valleys in data distribution. It provides a (twice-differentiable) density estimator (Quartic Kernel Density Estimator) relying on pytorch for auto-differentaition, and methods to estimate critical points in the density as well as various statistics to identify and trace `gaps' and valleys in the distribution. See https://github.com/contardog/findthegap for demo and usecase notebook in the folder 'examples'.

This package can be installed through pip (https://pypi.org/project/findthegap/):

pip install findthegap 

Dependencies:

  • numpy >= 1.19.5

  • torch >= 1.10.1

  • scipy >= 1.5.4

Notebook requirements: galpy, sklearn, astropy, matplotlib

Authors: Gabriella Contardo (CCA at Simons Foundation), David W. Hogg(CCA/NYU/MPIA)

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

findthegap-0.0.3.tar.gz (20.8 kB view hashes)

Uploaded Source

Built Distribution

findthegap-0.0.3-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

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