MCPcopy Create free account
hub / github.com/DanielShalam/BPA / initFromLabelledDatas

Method initFromLabelledDatas

methods/pt_map/test_standard.py:66–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 self.mus = self.mus.cuda()
65
66 def initFromLabelledDatas(self):
67 self.mus = ndatas.reshape(n_runs, n_shot + n_queries, n_ways, n_nfeat)[:, :n_shot, ].mean(1)
68
69 def updateFromEstimate(self, estimate, alpha):
70

Callers 1

test_standard.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected