Skip to main content

graphtools

Project description

Latest PyPi version Travis CI Build Read the Docs Coverage Status Twitter GitHub stars

Tools for building and manipulating graphs in Python.

Installation

graphtools is available on pip. Install by running the following in a terminal:

pip install --user graphtools

Usage example

The graphtools.Graph class provides an all-in-one interface for k-nearest neighbors, mutual nearest neighbors, exact (pairwise distances) and landmark graphs.

Use it as follows:

from sklearn import datasets
import graphtools
digits = datasets.load_digits()
G = graphtools.Graph(digits['data'])
K = G.kernel
P = G.diff_op
G = graphtools.Graph(digits['data'], n_landmark=300)
L = G.landmark_op

Help

If you have any questions or require assistance using graphtools, please contact us at https://krishnaswamylab.org/get-help

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

graphtools-0.1.8.1.tar.gz (22.6 kB view details)

Uploaded Source

File details

Details for the file graphtools-0.1.8.1.tar.gz.

File metadata

File hashes

Hashes for graphtools-0.1.8.1.tar.gz
Algorithm Hash digest
SHA256 8e1130771294d020bc76e1890e6e58a6d1141deeebd2de1033f7955b927d732b
MD5 8c6d0019b087eaf2aed5560bad7829df
BLAKE2b-256 2d9a2b8c9f50652b7e7fa41ab0d2dd76a1cd296cb9cc054b1ea32faa31df7561

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