MCPcopy Create free account
hub / github.com/PKU-ASAL/Simulated-Data / GetNodeNewName

Method GetNodeNewName

src/Sysdig/real-time/ProvGraph.py:106–111  ·  view source on GitHub ↗
(self,node)

Source from the content-addressed store, hash-verified

104 return self.nodes[node]['type']
105
106 def GetNodeNewName(self,node):
107 try:
108 x = self.nodes[node]['newname']
109 except:
110 x = -1
111 return x
112 def GetEmbedding(self, corpus, model):
113 tmp = [model.wv[i] for i in corpus]
114 r = np.mean(tmp,axis=0)

Callers 2

graph_taylorMethod · 0.95
final_graph_taylorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected