Skip to content

Commit 0097017

Browse files
committed
add license and authors on all modules
1 parent fac003d commit 0097017

File tree

13 files changed

+64
-3
lines changed

13 files changed

+64
-3
lines changed

ot/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
55
"""
66

7+
# Author: Remi Flamary <[email protected]>
8+
#
9+
# License: MIT License
10+
711

812
# All submodules and packages
913
from . import lp

ot/bregman.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Bregman projections for regularized OT
44
"""
55

6+
# Author: Remi Flamary <[email protected]>
7+
# Nicolas Courty <[email protected]>
8+
#
9+
# License: MIT License
10+
611
import numpy as np
712

813

ot/da.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
Domain adaptation with optimal transport
44
"""
55

6+
# Author: Remi Flamary <[email protected]>
7+
# Nicolas Courty <[email protected]>
8+
# Michael Perrot <[email protected]>
9+
#
10+
# License: MIT License
11+
612
import numpy as np
713
from .bregman import sinkhorn
814
from .lp import emd

ot/datasets.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Simple example datasets for OT
33
"""
44

5+
# Author: Remi Flamary <[email protected]>
6+
#
7+
# License: MIT License
8+
59

610
import numpy as np
711
import scipy as sp

ot/dr.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Dimension reduction with optimal transport
44
"""
55

6+
# Author: Remi Flamary <[email protected]>
7+
#
8+
# License: MIT License
9+
610
from scipy import linalg
711
import autograd.numpy as np
812
from pymanopt.manifolds import Stiefel

ot/gpu/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@
44
from . import da
55
from .bregman import sinkhorn
66

7+
# Author: Remi Flamary <[email protected]>
8+
# Leo Gautheron <https://github.com/aje>
9+
#
10+
# License: MIT License
11+
712
__all__ = ["bregman", "da", "sinkhorn"]

ot/gpu/bregman.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Bregman projections for regularized OT with GPU
44
"""
55

6+
# Author: Remi Flamary <[email protected]>
7+
# Leo Gautheron <https://github.com/aje>
8+
#
9+
# License: MIT License
10+
611
import numpy as np
712
import cudamat
813

ot/gpu/da.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
Domain adaptation with optimal transport with GPU implementation
44
"""
55

6+
# Author: Remi Flamary <[email protected]>
7+
# Nicolas Courty <[email protected]>
8+
# Michael Perrot <[email protected]>
9+
# Leo Gautheron <https://github.com/aje>
10+
#
11+
# License: MIT License
12+
13+
14+
615
import numpy as np
716
from ..utils import unif
817
from ..da import OTDA

ot/lp/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Solvers for the original linear program OT problem
44
"""
55

6+
# Author: Remi Flamary <[email protected]>
7+
#
8+
# License: MIT License
9+
610
import numpy as np
711
# import compiled emd
812
from .emd_wrap import emd_c, emd2_c

ot/lp/emd_wrap.pyx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# -*- coding: utf-8 -*-
22
"""
3-
Created on Thu Sep 11 08:42:08 2014
4-
5-
@author: rflamary
3+
Cython linker with C solver
64
"""
5+
6+
# Author: Remi Flamary <[email protected]>
7+
#
8+
# License: MIT License
9+
710
import numpy as np
811
cimport numpy as np
912

0 commit comments

Comments
 (0)