graphtools
Project description
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
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
graphtools-0.1.8.tar.gz
(21.9 kB
view details)
File details
Details for the file graphtools-0.1.8.tar.gz.
File metadata
- Download URL: graphtools-0.1.8.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ca019ec908fb9f567501d3418e612244e695f4e3edd8ce3c9f470477601a290
|
|
| MD5 |
3538c2f0754e9d743395662402f2c298
|
|
| BLAKE2b-256 |
2a355f92c18ce547a75a2f01e63943eed6d2a0651b0e2a7f415b173db7ab2cc2
|