MCPcopy Index your code
hub / github.com/MachineLP/TextMatch / predict_emb

Method predict_emb

textmatch/core/intent_classifier.py:28–29  ·  view source on GitHub ↗
(self, words, word_id=None)

Source from the content-addressed store, hash-verified

26 self.mf_cls = self.model_factory_cls( match_models=words_dict_ )
27
28 def predict_emb(self, words, word_id=None):
29 return self.mf_emb.predict_emb(words, word_id)
30
31 def predict_cls(self, words, word_id=None):
32 return self.mf_cls.predict_cls(words)

Callers 10

predictMethod · 0.95
factory_test.pyFile · 0.45
predictMethod · 0.45
text_search.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected