def testCuciVWModel(self):
Perform sanity check to see if c_uci coherence works with LDA VW gensim wrapper
if not self.vw_path:
return
CoherenceModel(model=self.vwmodel, texts=self.texts, coherence="c_uci")
def testCnpmiVWModel(self):
Perform sanity check to see if c_npmi coherence works with LDA VW gensim wrapper
After Change
def testCuciVWModel(self):
Perform sanity check to see if c_uci coherence works with LDA VW gensim wrapper
self._check_for_vw()
CoherenceModel(model=self.vwmodel, texts=self.texts, coherence="c_uci")
def testCnpmiVWModel(self):
Perform sanity check to see if c_npmi coherence works with LDA VW gensim wrapper