Skip to content

Commit c899d05

Browse files
committed
add warning to documentation
1 parent edad3f0 commit c899d05

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

ot/solvers/_linear.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -791,17 +791,9 @@ def solve_sample(
791791
# automatic solver
792792
res = ot.solve_sample(xa, xb, a, b, reg=1.0, method='geomloss')
793793
794-
# force O(n) memory efficient solver
795-
res = ot.solve_sample(xa, xb, a, b, reg=1.0, method='geomloss_online')
796-
797-
# force pre-computed cost matrix
798-
res = ot.solve_sample(xa, xb, a, b, reg=1.0, method='geomloss_tensorized')
799-
800-
# use multiscale solver
801-
res = ot.solve_sample(xa, xb, a, b, reg=1.0, method='geomloss_multiscale')
802-
803-
# One can play with speed (small scaling factor) and precision (scaling close to 1)
804-
res = ot.solve_sample(xa, xb, a, b, reg=1.0, method='geomloss', scaling=0.5)
794+
.. warning::
795+
The geomloss solver is a thin wrapper around the `geomloss.ot.solve_sample`
796+
function. The API is still under development and some features might be missing. Please refer to the `geomloss` documentation for more information.
805797
806798
- **Quadratic regularized OT [17]** (when ``reg!=None`` and ``reg_type="L2"``):
807799

0 commit comments

Comments
 (0)