@@ -31,7 +31,7 @@ Run ``python setup.py test`` to run all tests.
31
31
32
32
**Usage **
33
33
34
- For full usage examples, see the `` test `` and `` examples `` directories .
34
+ For full usage examples, see the `sphinx documentation `_ .
35
35
36
36
Each metric is a subclass of ``BaseMetricLearner ``, which provides
37
37
default implementations for the methods ``metric ``, ``transformer ``, and
@@ -45,7 +45,7 @@ expressed ``(x-y).dot(M).dot(x-y)``.
45
45
46
46
In the same scenario, ``foo.transformer() `` returns a ``d `` by ``d ``
47
47
matrix ``L `` such that a vector ``x `` can be represented in the learned
48
- space as the vector ``L .dot(x ) ``.
48
+ space as the vector ``x .dot(L.T ) ``.
49
49
50
50
For convenience, the function ``foo.transform(X) `` is provided for
51
51
converting a matrix of points (``X ``) into the learned space, in which
@@ -64,9 +64,11 @@ more complete.
64
64
65
65
.. _this site : http://www.cs.cmu.edu/~liuy/distlearn.htm
66
66
67
+ .. _sphinx documentation : http://all-umass.github.io/metric-learn/
68
+
67
69
.. |Travis-CI Build Status | image :: https://api.travis-ci.org/all-umass/metric-learn.svg?branch=master
68
70
:target: https://travis-ci.org/all-umass/metric-learn
69
71
.. |License | image :: http://img.shields.io/:license-mit-blue.svg?style=flat
70
72
:target: http://badges.mit-license.org
71
73
.. |PyPI version | image :: https://badge.fury.io/py/metric-learn.svg
72
- :target: http://badge.fury.io/py/metric-learn
74
+ :target: http://badge.fury.io/py/metric-learn
0 commit comments