Example #1
0
 def setUpClass(self):
     # Fake models! Only made so we can do unittests
     vm = shVM('tests/w2vModels/*.w2v', useCache=False)
     results, links = vm.trackClouds('x')
     agg = shVA(yearsInInterval=1)
     aggResults, aggMetadata = agg.aggregate(results)
     self.embedded = doSpaceEmbedding(vm, results, aggMetadata)
Example #2
0
 def setUpClass(self):
     # Fake models! Only made so we can do unittests
     vm = shVM('tests/w2vModels/*.w2v', useCache=False)
     results, links = vm.trackClouds('x')
     agg = shVA(yearsInInterval=1)
     aggResults, aggMetadata = agg.aggregate(results)
     self.embedded = doSpaceEmbedding(vm, results, aggMetadata)
 def setUpClass(self):
     # Fake models! Only made so we can do unittests
     self.vm = shVM('tests/w2vModels/*.w2v', useCache=False)
Example #4
0
 def setUpClass(self):
     # Fake models! Only made so we can do unittests
     self.vm = shVM('tests/gensimModels/*.w2v',
                    useMmap=True,
                    w2vFormat=False,
                    useCache=False)