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

Function sel

ot/mapping.py:536–537  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

534 I0 = Id[:, :-1]
535
536 def sel(x):
537 return x[:-1, :]
538 else:
539 xs1 = xs
540 xstxs = nx.dot(xs1.T, xs1)

Callers 1

lossFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected