summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-24 16:53:34 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-24 16:53:34 +0200
commit176ff069483b9ba630af8a00ce5edc104168c0a2 (patch)
tree12e0a6796f21a4fe840833dd9668ffcb72ace317
parentaf99bcb8b307e6460e061bff205b1d1b5a575e46 (diff)
comments in modules
-rw-r--r--ot/bregman.py4
-rw-r--r--ot/datasets.py4
-rw-r--r--ot/plot.py4
-rw-r--r--ot/utils.py4
4 files changed, 12 insertions, 4 deletions
diff --git a/ot/bregman.py b/ot/bregman.py
index a74cd19..81804a7 100644
--- a/ot/bregman.py
+++ b/ot/bregman.py
@@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
"""
-Created on Fri Oct 21 09:40:21 2016
-
-@author: rflamary
+Bregman projection for regularized Otimal transport
"""
import numpy as np
diff --git a/ot/datasets.py b/ot/datasets.py
index 3ebc2a1..cebfdac 100644
--- a/ot/datasets.py
+++ b/ot/datasets.py
@@ -1,3 +1,7 @@
+"""
+Simple example datasets for OT
+"""
+
import numpy as np
import scipy as sp
diff --git a/ot/plot.py b/ot/plot.py
index ce5444e..d172c90 100644
--- a/ot/plot.py
+++ b/ot/plot.py
@@ -1,3 +1,7 @@
+"""
+Functions for plotting OT matrices
+"""
+
import numpy as np
import matplotlib.pylab as pl
diff --git a/ot/utils.py b/ot/utils.py
index 5feb4c6..46c3775 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -1,4 +1,6 @@
-
+"""
+Various function that can be usefull
+"""
import numpy as np
from scipy.spatial.distance import cdist