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

Function test_transform_text

tests/test_text2mat.py:10–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 ['dogs rule the haus', 'dogs are my jam', 'dogs are a mans best friend']]
9
10def test_transform_text():
11 assert isinstance(text2mat(data)[0], np.ndarray)
12
13def test_count_LDA():
14 isinstance(text2mat(data, vectorizer='CountVectorizer',

Callers

nothing calls this directly

Calls 1

text2matFunction · 0.90

Tested by

no test coverage detected