Age | Commit message (Collapse) | Author |
|
* change doker type
* try avoid memory error
* remove medium+ because no money
* remove medium+ because no money
|
|
* test build with no dep
* cleaning up stuff
* build wheels
|
|
* adda sinkhorn log and working sinkhorn2 function
* more tests pass
* more tests pass
* it works but not by default yet
* remove warningd
* update circleci doc
* update circleci doc
* new sinkhorn implemeted but not by default
* better
* doctest pass
* test doctest
* new test utils
* remove pep8 errors
* remove pep8 errors
* doc new implementtaion with log
* test sinkhorn 2
* doc for log implementation
|
|
* Backend for optim
* Bug solve
* Doc update
* backend tests now with fixture
* Unused imports removed
* Docs
* Docs
* Docs
* Outer product backend docs
* Prettier docs
* Pep8
* Mistakes corrected
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
* Bregman
* Resolve conflicts
* Bug solve
* Bregman updated for JAX compatibility
* Tests coherence between backend improved
* No longer enforcing 64 bits operations on Jax except for tests
* Now using mixtures, to make backend dependent tests with less code
* Better test skipping code
* Pep8 + test optimizations
* redundancy removed
* Docs
* Typo corrected
* Typo
* Typo
* Docs
* Docs
* pep8
* Backend docs
* Prettier docs
* Mistake corrected
* small changes
* Better wording
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
* add reg path
* debug examples and verify pep8
* pep8 and move the reg path examples in unbalanced folder
Co-authored-by: haoran010 <haoran.wu@insa-rennes.fr>
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
* gpus tests now passing
* pep8 compliance
* GPU tests succeeding even if b has rank higher than 1
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
* Added : OpenMP support
Restored : Epsilon and Debug mode
Replaced : parmap => multiprocessing is now replace by multithreading
* Commit clean up
* Number of CPUs correctly calculated on SLURM clusters
* Corrected number of processes for cluster slurm
* Mistake corrected
* parmap is now deprecated
* Now a different solver is used depending on the requested number of threads
* Tiny mistake corrected
* Folders are now in the ot library instead of at the root
* Helpers is now correctly placed
* Attempt to make compilation work smoothly
* OS compatible path
* NumThreads now defaults to 1
* Better flags
* Mistake corrected in case of OpenMP unavailability
* Revert OpenMP flags modification, which do not compile on Windows
* Test helper functions
* Helpers comments
* Documentation update
* File title corrected
* Warning no longer using print
* Last attempt for macos compilation
* pls work
* atempt
* solving a type error
* TypeError OpenMP
* Compilation finally working on Windows
* Bug solve, number of threads now correctly selected
* 64 bits solver to avoid overflows for bigger problems
* 64 bits EMD corrected
Co-authored-by: kguerda-idris <ssos023@jean-zay3.idris.fr>
Co-authored-by: ncassereau-idris <84033440+ncassereau-idris@users.noreply.github.com>
Co-authored-by: ncassereau <nathan.cassereau@idris.fr>
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
* Line search stops when derphi is 0 instead of bugging out like in some instances
* pep8 compliance
* Tests
|
|
* Add two new algorithms to solve Gromov Wasserstein: Sampled Gromov Wasserstein and Pointwise Gromov Wasserstein.
* Correct some lines in SaGroW and PoGroW to follow pep8 guide.
* Change nb_samples name. Use rdm state. Change symmetric check.
* Change names of len(p) and len(q) in SaGroW and PoGroW.
* Re-add some deleted lines in the comments of gromov.py
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
* ot.dr: PRW code; text.text_dr: PRW test code.
* ot.dr: PRW code; test.test_dr: PRW test code.
* fix errors: pep8(3.8)
* fix errors: pep8(3.8)
* modified readme; prw code review
* fix pep error
* edit comment
* modified math comment
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
|
|
date (#269)
|
|
* speedup tests
* add color to tests and timings
* add test unbalanced
* stupid missing -
|
|
* Add batch implementation of Sinkhorn
* Reformat to pep8 and modify parameter
* Fix error in batch size
* Code review and add test
* Fix accidental typo in test_empirical_sinkhorn
* Remove whitespace
* Edit config.yml
|
|
* shortened example GAN
* pep8 and typo
* awesome animation
* small eror pep8
* add animation to doc
* better timing animation
* tune step
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
|
|
|
|
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
|
|
* remove warning numpy int?
* use long long
* stoupid mistake
* cleanup double test run in PR from local branch
|
|
* remove warnings in tests from docstrings
* working tets for bregman implemneted methods
* pep8
|
|
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>
|
|
* add pull request again
|
|
* run test for every push
* rename action to tests
|
|
* 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
|
|
* 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
|
|
debug (#236)
* add optional build wheels in PR
* test if in build wheels
* remove wheels builders
* update build wheels et tets run
|
|
|
|
* add Mathieu in acknoledgements
|
|
* add JMLR reefrence to eradme and doc
|
|
* 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>
|
|
* 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
|
|
* 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>
|
|
* 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>
|
|
* 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
|
|
As recommended in your comment.
|
|
* 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>
|
|
* 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>
|
|
* Fix to BaseTransport.transform_labels()
Issue #207
* Fix - forgot to commit
|
|
* 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
|
|
This reverts commit b2eae39e8a422b18ecc3fadc08bc909ee1dae55f.
|
|
* Update bregman.py
* correct call to function
Co-authored-by: FerdinandGns <56926826+FerdinandGns@users.noreply.github.com>
|
|
Thanks for the modification @panpan2
|
|
|
|
* 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
|
|
ignore gpu for code coverage (it cannot be tested)
|
|
* 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
|