diff options
-rw-r--r-- | ot/da.py | 2 | ||||
-rwxr-xr-x | setup.py | 5 |
2 files changed, 1 insertions, 6 deletions
@@ -122,7 +122,7 @@ def sinkhorn_lpl1_mm(a,labels_a, b, M, reg, eta=0.1,numItermax = 10,numInnerIter -class OTDA(): +class OTDA(object): """Class for domain adaptation with optimal transport""" def __init__(self,metric='sqeuclidean'): @@ -11,11 +11,6 @@ import os here = path.abspath(path.dirname(__file__)) - - - -#import glob - # dirty but working __version__ = re.search( r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too |