MCPcopy Create free account
hub / github.com/Thunderbeee/ZSCL / reduceExampleSet

Method reduceExampleSet

mtil/src/dynamic_dataset.py:32–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.constructExampleSet(args)
31
32 def reduceExampleSet(self):
33 print("Reducing Example Set")
34 K, t = self.memory_size, len(self.ref_names)+1
35 m = K // t
36 for dataset in self.ref_names:
37 self.ref_database[dataset] = self.ref_database[dataset][:m]
38
39 def constructExampleSet(self, args):
40 # breakpoint()

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected