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
Help
If you have any questions or require assistance using graphtools, please contact us at https://krishnaswamylab.org/get-help
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.9.tar.gz
(22.8 kB
view details)
File details
Details for the file graphtools-0.1.9.tar.gz
.
File metadata
- Download URL: graphtools-0.1.9.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab74e6d775bcbf53b81ee74cebb2069c00bf0a8f783034a7854c40b156a32ad3 |
|
MD5 | 4ebba493443004c9cc66ccb9eaec8497 |
|
BLAKE2b-256 | 3dd98a201de2ea0be07b8b7ea81ee0fb08449656a9d6c86dd34ad5decff0bcef |