MCPcopy
hub / github.com/ContextLab/hypertools / test_count_NMF

Function test_count_NMF

tests/test_text2mat.py:21–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 semantic='LatentDirichletAllocation', corpus=data)[0], np.ndarray)
20
21def test_count_NMF():
22 isinstance(text2mat(data, vectorizer='CountVectorizer', semantic='NMF', corpus=data)[0], np.ndarray)
23
24def test_tfidf_NMF():
25 isinstance(text2mat(data, vectorizer='TfidfVectorizer', semantic='NMF', corpus=data)[0], np.ndarray)

Callers

nothing calls this directly

Calls 1

text2matFunction · 0.90

Tested by

no test coverage detected