Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
208
class
SquaredL2(Regularization):
Callers
nothing calls this directly
Calls
2
sum
Method · 0.45
log
Method · 0.45
Tested by
no test coverage detected