MCPcopy Create free account
hub / github.com/HanHan55/Graph2plan / retrieve_cluster

Method retrieve_cluster

PostProcess/g2p/retrieval.py:66–91  ·  view source on GitHub ↗

datum: test data k: retrieval num return: index for training data

(self,datum,k=20,multi_clusters=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

retrieveMethod · 0.45
retrieval.pyFile · 0.45

Calls 2

compute_tfFunction · 0.70
sample_tfFunction · 0.70

Tested by

no test coverage detected