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

Function test_count_LDA

tests/test_text2mat.py:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 assert isinstance(text2mat(data)[0], np.ndarray)
12
13def test_count_LDA():
14 isinstance(text2mat(data, vectorizer='CountVectorizer',
15 semantic='LatentDirichletAllocation', corpus=data)[0], np.ndarray)
16
17def test_tfidf_LDA():
18 isinstance(text2mat(data, vectorizer='TfidfVectorizer',

Callers

nothing calls this directly

Calls 1

text2matFunction · 0.90

Tested by

no test coverage detected