summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-08[MRG] Update example GAN to avoid the 10 minute CircleCI limit (#258)Rémi Flamary
* shortened example GAN * pep8 and typo * awesome animation * small eror pep8 * add animation to doc * better timing animation * tune step
2021-06-07[WIP] Spell correction in README.md (#257)kguerda-idris
* Spell correction in README.md * Update README.md Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> Co-authored-by: kguerda-idris <ssos023@jean-zay1.idris.fr> Co-authored-by: Rémi Flamary <remi.flamary@gmail.com> Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-02[WIP] Add Wasserstein GAN and debug memory leak (#254)Rémi Flamary
* add example and debug memory leak * print stuff * speedup gallery * Apply suggestions from code review Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * test cells * proper header gan exmaple * cleanup sections * last changes ? Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-01[MRG] POT numpy/torch/jax backends (#249)Rémi Flamary
* add numpy and torch backends * stat sets on functions * proper import * install recent torch on windows * install recent torch on windows * now testing all functions in backedn * add jax backedn * clenaup windowds * proper convert for jax backedn * pep8 * try again windows tests * test jax conversion * try proper widows tests * emd fuction ses backedn * better test partial OT * proper tests to_numpy and teplate Backend * pep8 * pep8 x2 * feaking sinkhorn works with torch * sinkhorn2 compatible * working ot.emd2 * important detach * it should work * jax autodiff emd * pep8 * no tast same for jax * new independat tests per backedn * freaking pep8 * add tests for gradients * deprecate ot.gpu * worging dist function * working dist * dist done in backedn * not in * remove indexing * change accuacy for jax * first pull backend * projection simplex * projection simplex * projection simplex * projection simplex no ci * projection simplex no ci * projection simplex no ci * pep8 * add backedn discusion to quickstart guide * projection simplex no ci * projection simplex no ci * projection simplex no ci * pep8 + better doc * proper links * corect doctest * big debug documentation * doctest again * doctest again bis * doctest again ter (last one or i kill myself) * backend test + doc proj simplex * correction test_utils * correction test_utils * correction cumsum * correction flip * correction flip v2 * more debug * more debug * more debug + pep8 * pep8 * argh * proj_simplex * backedn works for sort * proj simplex * jax sucks * update doc * Update test/test_utils.py Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update docs/source/quickstart.rst Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update docs/source/quickstart.rst Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update docs/source/quickstart.rst Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update docs/source/readme.rst Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update test/test_utils.py Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update ot/utils.py Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update docs/source/readme.rst Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * Update ot/lp/__init__.py Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * begin comment alex * comment alex part 2 * optimize test gromov * proj_simplex on vectors * add awesome gradient decsnt example on the weights * pep98 of course * proof read example by alex * pep8 again * encoding oos in translation * correct legend Co-authored-by: Nicolas Courty <ncourty@irisa.fr> Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-05-27Build wheels on ARM and in PR (#253)Rémi Flamary
2021-05-26Docs correction (#252)ncassereau-idris
2021-04-22[WIP] Build doc in master and stable separately and have both versions on ↵Rémi Flamary
the website (#243) * add bild doc action workflow * new build * build full doc * remove github action and update circleci builder * add versions in doc and change dev number
2021-04-21[MRG] Fixes issue #239 (deprecated numpy types) (#244)Rémi Flamary
* remove warning numpy int? * use long long * stoupid mistake * cleanup double test run in PR from local branch
2021-04-19[MRG] Cleanup test warnings (#242)Rémi Flamary
* remove warnings in tests from docstrings * working tets for bregman implemneted methods * pep8
2021-04-19BUG/DOC FIX - Sinkhorn divergence used the wrong weights, and sinkhorn2 ↵AdrienCorenflos
didn't support epsilon_scaling method. (#235) * FIX: 1. Documentation of loss specific functions 2. Sinkhorn divergence weights handling 3. Sinkhorn2 does not support epsilon scaling, so I removed it (it *should* arguably support it, but this would require a refactoring of the sinkhorn iterates pretty much everywhere, maybe should be done in torch first?) * Had some PEP8 issues Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2021-04-19[MRG] Add tests in pull request (#241)Rémi Flamary
* add pull request again
2021-04-19[MRG] Make tests runs on push (#240)Rémi Flamary
* run test for every push * rename action to tests
2021-04-16[MRG] build wheels with arm64 (raspberry PI) (#238)Rémi Flamary
* add optional build wheels in PR * test if in build wheels * remove wheels builders * update build wheels et tets run * add big sur * add arm64 wheels and build wheels * build wheels please * build wheels * build wheels with proper file now * build wheels debuged * remove big sur * build wheels debuged * add weekly build and test build wheels and build all wheels * whange name weekly build * add potntial no ci and no pep8 flags * change name of actions
2021-04-15[MRG] Add new python versions for tests (also macos and windows) (#237)Rémi Flamary
* update python versions and add macosx bigsur * add versions macosx * remove big sur and add 3.7 in macos * disable paramell on macosx * remove double run of tests that was running both on push and pr
2021-04-15[WIP] Update build_wheels to new version and allow force build in PR for ↵Rémi Flamary
debug (#236) * add optional build wheels in PR * test if in build wheels * remove wheels builders * update build wheels et tets run
2021-04-10pass on readme (#234)Alexandre Gramfort
2021-04-08[MRG] Add Mathieu Blondel in acknoledgements (#232)Rémi Flamary
* add Mathieu in acknoledgements
2021-04-08[MRG] ADD JMLR paper to the readme and documentation (#231)Rémi Flamary
* add JMLR reefrence to eradme and doc
2020-12-22[WIP] Update documentation "Why OT" section (#220)Rémi Flamary
* add some text + discussion sinkhorn * stating wrk on why POT * fix sphinx warnings + make html-noplot * discussion when not to use POT * add discussion which sinkhorn * edits on quickstart * more * remove warnings :any: * more * done * remove ref Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2020-11-12change precision EPSILON in C code (#217)Nicolas Courty
* change precision EPSILON in C code * change precision EPSILON in C code V2 * change precision EPSILON in C code V3 (add comment and remove unnecessary lines
2020-10-22[MRG] Fix bugs for partial OT (#215)Laetitia Chapel
* bugfix * update refs partial OT * fixes small typos in plot_partial_wass_and_gromov * fix small bugs in partial.py * update README * pep8 bugfix * modif doctest * fix bugtests * update on test_partial and test on the numerical precision on ot/partial * resolve merge pb Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2020-10-22[MRG] Sliced wasserstein (#203)AdrienCorenflos
* example for log treatment in bregman.py * Improve doc * Revert "example for log treatment in bregman.py" This reverts commit 9f51c14e * Add comments by Flamary * Delete repetitive description * Added raw string to avoid pbs with backslashes * Implements sliced wasserstein * Changed formatting of string for py3.5 support * Docstest, expected 0.0 and not 0. * Adressed comments by @rflamary * No 3d plot here * add sliced to the docs * Incorporate comments by @rflamary * add link to pdf Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2020-10-22[MRG] Cleanup minimal build and add separate build for pep8 (#210)Rémi Flamary
* cleanup requiorement minimal * add pep8 build * cleanup sklearn * skip test if no sklearn * debug build yaml * comment error out in test (test sklearn) * maybe small stuff for better robustness : copy the sub-array * bump verison minimal build * update version strict requireent * update version strict requirement last change
2020-08-30Fix minor typo take #2 (#209)Florian Kalinke
As recommended in your comment.
2020-08-24[WIP] add introductory example of OT, EMD and Sinkhorn (#191)aboisbunon
* add introductory example of OT, EMD and Sinkhorn * improve figure and try complying with pep8 * autopep8 * change markdown elements to rst * try solving issue with images * fix issue with images * add a section on varying the sinkhorn hyperparameter * add Sinkhorn algorithm and discussion for comparison between EMD and Sinkhorn * autopep8 again * add subsections and modify figure sizes/shapes * fix bug with print * correct some typos * remove computational time comparison * autopep8 again... Co-authored-by: Aurelie Boisbunon <abb@mydatamodels.com>
2020-08-24Check if alpha is not None when restricting it to be at most 1 (#199)Panayiotis Panayiotou
* Check if alpha is not None when restricting it to be at most 1 * Write check more clearly * Add no regression test for line search armijo returning None for alpha Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2020-08-24Fix to BaseTransport.transform_labels() (#208)Samarth Mishra
* Fix to BaseTransport.transform_labels() Issue #207 * Fix - forgot to commit
2020-07-20Correct documentation for support barycenter (#201)AdrienCorenflos
* example for log treatment in bregman.py * Improve doc * Revert "example for log treatment in bregman.py" This reverts commit 9f51c14e * Add comments by Flamary * Delete repetitive description * Added raw string to avoid pbs with backslashes
2020-06-22Revert "[WIP] Update bregman.py : barycenter_sinkhorn function (#195)" (#196)Rémi Flamary
This reverts commit b2eae39e8a422b18ecc3fadc08bc909ee1dae55f.
2020-06-22[WIP] Update bregman.py : barycenter_sinkhorn function (#195)Rémi Flamary
* Update bregman.py * correct call to function Co-authored-by: FerdinandGns <56926826+FerdinandGns@users.noreply.github.com>
2020-05-26Restrict Armijo linesearch function step to be at most 1 (#189)Panayiotis Panayiotou
Thanks for the modification @panpan2
2020-05-25Delete _config.yml (#186)Rémi Flamary
2020-05-22[MRG] Templates (#181)Ayush Karnawat
* Add a PR template * move github contrib + code of conduct * fix links * add feature request template * ask for gpu info * address comments * add gitter in README
2020-05-19Update codecov.yml (#183)Rémi Flamary
ignore gpu for code coverage (it cannot be tested)
2020-05-19[MRG] Codecov options + remove 2.7 (#178)Ayush Karnawat
* cleanup setup * Ignore files in codecov * Remove externals module * change name to compile_args * bye py2.7 (you will be missed) * glob to ignore folders
2020-05-15Merge pull request #175 from djsutherland/mac-ccRémi Flamary
[WIP] only mangle CC/etc if on mac and not told not to
2020-05-15remove CC for macosx (test)Rémi Flamary
2020-05-15Merge branch 'master' into mac-ccRémi Flamary
2020-05-14Merge pull request #174 from djsutherland/setup-requiresRémi Flamary
[MRG] Fix requirements
2020-05-13rename I to img in examples, since flake8 complains now (#176)D.J. Sutherland
2020-05-13only mangle CC/etc if on mac and not told not toD.J. Sutherland
2020-05-13fix requirementsD.J. Sutherland
2020-05-13rename I to img in examples, since flake8 complains nowD.J. Sutherland
2020-05-11Update README.mdRémi Flamary
make build badge on master only
2020-05-06Merge pull request #170 from AdrienCorenflos/masterRémi Flamary
fix array bounds issue
2020-05-05fix failing test - cur_idx needs to be incremented by 1 after the loopAdrienCorenflos
2020-05-05Some improvements for platform compatibilityAdrienCorenflos
2020-05-05break before exceeding array sizeAdrienCorenflos
2020-05-05Merge pull request #167 from PythonOT/doc_v0.7Rémi Flamary
[WIP] Reproducible example WDA and remove dense from doc
2020-05-05update release in docRémi Flamary