Skip to main content

Library for constructing variable bandwidth diffusion maps

Project description

This is the home of the documentation for pyDiffMap, an open-source project to develop a robust and accessible diffusion map code for public use. Our documentation is currently under construction, please bear with us.

  • Free software: MIT License.

Installation

Pydiffmap is installable using pip. You can install it using the command

pip install pyDiffMap

You can also install the package directly from the source directly by downloading the package from github and running the command below, optionally with the “-e” flag for an editable install.

pip install [source_directory]

Documentation

https://pyDiffMap.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

If you don’t have tox installed, you can also run the python tests directly with

pytest

Changelog

0.2.0.1 (2019-02-04) New Features ~~~~~~~~~~~~ * Added a more generous epsilon procedure for convenience.

0.2.0 (2019-02-01)

New Features

  • Added support for user-provided kernel functions.

  • Added a utility for building a sparse matrix from a function on the data.

  • (Re)added separate TMDmap class wrapping base diffusion map class to allow for easier construction of TMDmaps.

  • Added ability to explicitly provide the sampled density for q^alpha normalization.

  • Added Variable Bandwidth Diffusion Maps.

  • Added a new out-of-sample extension method that should work for variable bandwidth methods.

Tweaks and Modifications

  • Changed from exp^(-d^2) to exp^(-d^2/4) convention.

  • Moved weight functionality into a function provided on initialization, rather than input values, and added a helper function that allows values to be read from a lookup table.

  • Improved the Diffusion Map test suite.

  • Moved out-of-sample routines into separate functions.

  • Moved matrix symmetrization into newly made utility file.

  • Adjusted constructor for the diffusion map to take the kernel object directly.

Bugfixes

  • Fixed bug where weight matrices were not included for out of sample extension.

Other

  • Moved to MIT license.

0.1.0 (2017-12-06)

  • Fixed setup.py issues.

0.1.0 (2017-12-06)

  • Added base functionality to the code.

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

pydiffmap-0.2.0.1.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

pydiffmap-0.2.0.1-py2.py3-none-any.whl (14.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pydiffmap-0.2.0.1.tar.gz.

File metadata

  • Download URL: pydiffmap-0.2.0.1.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for pydiffmap-0.2.0.1.tar.gz
Algorithm Hash digest
SHA256 3af62dd5e9a7ad68dfcb9b20a923c3ef307da2196b29c2e87ae32ce6e400a042
MD5 af024ce8298538c3b4d3a76fa8abad04
BLAKE2b-256 e827c53914b2e0f6c0db8dc83609c87b745cbf39cc38479ec488dc80382a67c7

See more details on using hashes here.

File details

Details for the file pydiffmap-0.2.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pydiffmap-0.2.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for pydiffmap-0.2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bf56698145cc84247bbb48758b2cae206af585b796a712cfcb4cd405343bb186
MD5 379efd83abd0e6faaffb387c14e6375a
BLAKE2b-256 59e2f94e37c454cae1747cc47876241ec1821d836d552144e3953cc38ff9a5ca

See more details on using hashes here.

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