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

Method Omega

ot/smooth.py:204–205  ·  view source on GitHub ↗
(self, T)

Source from the content-addressed store, hash-verified

202 return val, G
203
204 def Omega(self, T):
205 return self.gamma * np.sum(T * np.log(T))
206
207
208class SquaredL2(Regularization):

Callers

nothing calls this directly

Calls 2

sumMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected