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

Method clear

join/LSH/datasketch/minhash.py:240–245  ·  view source on GitHub ↗

Clear the current state of the MinHash. All hash values are reset.

(self)

Source from the content-addressed store, hash-verified

238 return True
239
240 def clear(self):
241 '''
242 Clear the current state of the MinHash.
243 All hash values are reset.
244 '''
245 self.hashvalues = self._init_hashvalues(len(self))
246
247 def copy(self):
248 '''

Callers 1

index.pyFile · 0.80

Calls 1

_init_hashvaluesMethod · 0.95

Tested by

no test coverage detected