diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-04-21 09:08:38 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-04-21 09:08:38 +0200 |
commit | b33146062f847edd7c535a78535eae47058ba8fe (patch) | |
tree | a71ab3592862029aa0f01e0b30eed965806b2384 | |
parent | ad693e32e78df399ccaea07402613813a6c4d8db (diff) |
small normalization bug
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | ot/da.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -68,6 +68,8 @@ cd cudamat python setup.py install --user # for user install (no root) ``` +obviously you need CUDA installed and a compatible GPU. + ## Examples The examples folder contain several examples and use case for the library. The full documentation is available on [Readthedocs](http://pot.readthedocs.io/) @@ -620,7 +620,7 @@ class OTDA(object): self.wt=wt self.M=dist(xs,xt,metric=self.metric) - self.normalize() + self.normalizeM(norm) self.G=emd(ws,wt,self.M) self.computed=True |