MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / read_distribution

Function read_distribution

union/TUS/query.py:303–307  ·  view source on GitHub ↗
(json_file)

Source from the content-addressed store, hash-verified

301
302#读取保存的分布
303def read_distribution(json_file):
304 with open(json_file, 'r') as file:
305 distribution = json.load(file)
306
307 return distribution
308
309
310def query_lsh_forest(values, lsh, type='Uset', threshold=0.7, n = 128, folder_path='benchmark', k=10**10):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected