Skip to content

Commit

Permalink
fix edc91ea md rst issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Nov 22, 2018
1 parent f81829c commit 654cf46
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ Installation

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

pip install --user graphtools
pip install --user graphtools

Alternatively, graphtools can be installed using `Conda <https://conda.io/docs/>`_ (most easily obtained via the `Miniconda Python distribution <https://conda.io/miniconda.html>`_)::

conda install -c conda-forge graphtools

Usage example
-------------
Expand All @@ -40,14 +44,14 @@ The `graphtools.Graph` class provides an all-in-one interface for k-nearest neig

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
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
----
Expand Down

0 comments on commit 654cf46

Please sign in to comment.