summaryrefslogtreecommitdiff
path: root/ot/utils.py
AgeCommit message (Collapse)Author
2020-04-08remove laplacianievred
2020-04-03autopep+remove sinkhorn+add simtypeievred
2020-04-03v2 laplace emd sinkhornievred
2019-09-09merge new unbalancedRémi Flamary
2019-08-12Attempting to fix docstylengayraud
2019-08-12Attempting to fix docstylengayraud
2019-08-12fixes for travis, added test, minor nitsngayraud
2019-08-12Added Unbalaced transport to domain adaptation methods. Corrected small bug ↵ngayraud
related to warnings in unbalaced.py . Added an error message when user wants to normalize with other than expected cost normalization functions.
2019-07-09moreAlexandre Gramfort
2019-07-05cleanup parmap on windowsRémi Flamary
2019-07-03doc in modulesRémi Flamary
2019-07-01Fixed doctestsRomain Tavenard
2019-06-04changes forgotten comentstvayer
2018-07-16Add comment & fix flake8 errorLeoGautheron
2018-07-16Remove dependency sklearnLeoGautheron
2018-07-11Speed-up SinkhornLeoGautheron
Speed-up in 3 places: - the computation of pairwise distance is faster with sklearn.metrics.pairwise.euclidean_distances - faster computation of K = np.exp(-M / reg) - faster computation of the error every 10 iterations Example with this little script: import time import numpy as np import ot rng = np.random.RandomState(0) transport = ot.da.SinkhornTransport() time1 = time.time() Xs, ys, Xt = rng.randn(10000, 100), rng.randint(0, 2, size=10000), rng.randn(10000, 100) transport.fit(Xs=Xs, Xt=Xt) time2 = time.time() print("OT Computation Time {:6.2f} sec".format(time2-time1)) transport = ot.da.SinkhornLpl1Transport() transport.fit(Xs=Xs, ys=ys, Xt=Xt) time3 = time.time() print("OT LpL1 Computation Time {:6.2f} sec".format(time3-time2)) Before OT Computation Time 19.93 sec OT LpL1 Computation Time 133.43 sec After OT Computation Time 7.55 sec OT LpL1 Computation Time 82.25 sec
2018-05-29add check_random_state in utilsRémi Flamary
2018-03-21add externals for function signatureRémi Flamary
2018-03-21add linear mapping test + autopep8Rémi Flamary
2018-02-16better pep8 but not solvedRémi Flamary
2017-08-30Move normalize function in utils.pyaje
2017-08-28check input parameters with helper functionsSlasnista
2017-08-28move no da objects into utils.pySlasnista
2017-07-26add license and authors on all modulesRémi Flamary
2017-07-20pep8Alexandre Gramfort
2017-07-20pep8Alexandre Gramfort
2017-06-20add clean zeros function for sparse distributionsRémi Flamary
2017-06-09add doc and correct encodingRémi Flamary
2017-03-14add emd2+ multiprocRémi Flamary
2017-01-05add tic() and toc() functions for easy coarse timingRémi Flamary
2016-11-04add mapping estimation with kernels works!Rémi Flamary
2016-11-03add mapping estimation (still debugging)Rémi Flamary
2016-10-28doc plot.pyRémi Flamary
2016-10-28doc datasets.pyRémi Flamary
2016-10-28doc utils.pyRémi Flamary
2016-10-24comments in modulesRémi Flamary
2016-10-24add plot and utils functionsRémi Flamary
2016-10-21demo with sinkhornRémi Flamary
2016-10-21demo+sinkhornRémi Flamary