You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,11 @@ metric-learn contains efficient Python implementations of several popular superv
31
31
32
32
**Installation/Setup**
33
33
34
-
Run ``pip install metric-learn`` to download and install from PyPI.
34
+
- If you use Anaconda: ``conda install -c conda-forge metric-learn``. See more options `here <https://github.com/conda-forge/metric-learn-feedstock#installing-metric-learn>`_.
35
35
36
-
Run ``python setup.py install`` for default installation.
36
+
- To install from PyPI: ``pip install metric-learn``.
37
37
38
-
Run ``pytest test`` to run all tests (you will need to have the ``pytest``
39
-
package installed).
38
+
- For a manual install of the latest code, download the source repository and run ``python setup.py install``. You may then run ``pytest test`` to run all tests (you will need to have the ``pytest`` package installed).
Copy file name to clipboardExpand all lines: doc/getting_started.rst
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,15 @@ Getting started
5
5
Installation and Setup
6
6
======================
7
7
8
-
Run ``pip install metric-learn`` to download and install from PyPI.
8
+
**Installation**
9
9
10
-
Alternately, download the source repository and run:
10
+
metric-learn can be installed in either of the following ways:
11
11
12
-
- ``python setup.py install`` for default installation.
13
-
- ``pytest test`` to run all tests.
12
+
- If you use Anaconda: ``conda install -c conda-forge metric-learn``. See more options `here <https://github.com/conda-forge/metric-learn-feedstock#installing-metric-learn>`_.
13
+
14
+
- To install from PyPI: ``pip install metric-learn``.
15
+
16
+
- For a manual install of the latest code, download the source repository and run ``python setup.py install``. You may then run ``pytest test`` to run all tests (you will need to have the ``pytest`` package installed).
0 commit comments