MCPcopy Create free account
hub / github.com/PythonOT/POT / solve_L_nobias

Function solve_L_nobias

ot/mapping.py:806–809  ·  view source on GitHub ↗

solve L problem with fixed G (least square)

(G)

Source from the content-addressed store, hash-verified

804 )
805
806 def solve_L_nobias(G):
807 """solve L problem with fixed G (least square)"""
808 xst = ns * nx.dot(G, xt)
809 return nx.solve(K0, xst)
810
811 def solve_L_bias(G):
812 """solve L problem with fixed G (least square)"""

Callers

nothing calls this directly

Calls 2

dotMethod · 0.45
solveMethod · 0.45

Tested by

no test coverage detected