Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modAL-python/modAL
/ sim
Function
sim
modAL/density.py:23–24 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
21
The information_density measure obtained
from
the given distance measure.
22
""
"
23
def
sim(*args, **kwargs):
24
return
1/(1 + distance_measure(*args, **kwargs))
25
26
return
sim
27
Callers
1
test_similarize_distance
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_similarize_distance
Method · 0.68