summaryrefslogtreecommitdiff
path: root/test/test_da.py
AgeCommit message (Collapse)Author
2022-03-24[MRG] Domain adaptation and unbalanced solvers with backend support (#343)Nathan Cassereau
* First draft * Add matrix inverse and square root to backend * Eigen decomposition for older versions of pytorch (1.8.1 and older) * Corrected eigen decomposition for pytorch 1.8.1 and older * Spectral theorem is a thing * Optimization * small optimization * More functions converted * pep8 * remove a warning and prepare torch meshgrid for future torch release (which will change default indexing) * dots and pep8 * Meshgrid corrected for older version and prepared for future versions changes * New backend functions * Base transport * LinearTransport * All transport classes + pep8 * PR added to release file * Jcpot barycenter test * unbalanced with backend * pep8 * bug solve * test of domain adaptation with backends * solve bug for tic toc & macos * solving scipy deprecation warning * solving scipy deprecation warning attempt2 * solving scipy deprecation warning attempt3 * A warning is triggered when a float->int conversion is detected * bug solve * docs * release file updated * Better handling of float->int conversion in EMD * Corrected test for is_floating_point * docs * release file updated * cupy does not allow implicit cast * fromnumpy * added test * test da tf jax * test unbalanced with no provided histogram * using type_as argument in unif function correctly * pep8 * transport plan cast in emd changed behaviour, now trying to cast as histogram's dtype, defaulting to cost matrix Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
2021-09-28[MRG] Regularized OT (optim.cg) bug solve (#286)ncassereau-idris
* Line search stops when derphi is 0 instead of bugging out like in some instances * pep8 compliance * Tests
2021-06-17[MRG] Speedup tests (#262)Rémi Flamary
* speedup tests * add color to tests and timings * add test unbalanced * stupid missing -
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-04-15conflict test_daievred
2020-04-15conflict test_daievred
2020-04-08remove blank lineievred
2020-04-08pep test daievred
2020-04-08pep test daievred
2020-04-08remove jcpot from laplaceievred
2020-04-07updievred
2020-04-03autopep+remove sinkhorn+add simtypeievred
2020-04-03laplace emd+sinkhornievred
2020-04-01pep8ievred
2020-04-01fix test example add M to logievred
2020-04-01fix imports remove checksievred
2020-03-31readme move to bregmanievred
2020-03-31v1 jcpot example testievred
2019-08-12Fix in test: no margin constraints herengayraud
2019-08-12fixes for travis, added test, minor nitsngayraud
2018-06-11add new line for pep8Rémi Flamary
2018-06-11Merge branch 'master' into remove_otda_v05Rémi Flamary
2018-05-30replace function name tin testsRémi Flamary
2018-05-29remove OTDA + pep8Rémi Flamary
2018-03-21add test gromov + debug sklearn BasestimatorRémi Flamary
2018-03-21add test linear mapping classRémi Flamary
2018-03-21add linear mapping test + autopep8Rémi Flamary
2017-09-05solving pbSlasnista
2017-09-05test semi supervised mode ok written for all class | need different ↵Slasnista
tolerance for EMDTransport
2017-09-05change name of otda object in test script: clf => otdaSlasnista
2017-09-05integrated test for semi supervised caseSlasnista
2017-08-25solving log issues to avoid errors and adding further testsSlasnista
2017-08-23added deprecation warning on old classesSlasnista
2017-08-23test functions for MappingTransport ClassSlasnista
2017-08-23out of samples transform and inverse transform by batchSlasnista
2017-08-23make doc strings compliant with numpy / modif according to AG reviewSlasnista
2017-08-04out of samples by Ferradans supported for transform and inverse_transformSlasnista
2017-08-04correction of semi supervised modeSlasnista
2017-08-04semi supervised mode supportedSlasnista
2017-08-04added new class SinkhornL1l2Transport() + dedicated testSlasnista
2017-08-04added new class SinkhornLpl1Transport() + dedicated testSlasnista
2017-08-04added test for fit_transform + correction of fit_transform bug (missing ↵Slasnista
return self)
2017-08-01added EMDTransport Class from NG's code + added dedicated testSlasnista
2017-08-01update SinkhornTransport class + added test for classSlasnista
2017-07-26author and license for tets filesRémi Flamary
2017-07-26n to n_samplesRémi Flamary
2017-07-26numpy assert test_daRémi Flamary
2017-07-26import nmpy before otRémi Flamary
2017-07-24add test da 58% coverageRémi Flamary