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

Function test_transform_no_text_model

tests/test_text2mat.py:27–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 isinstance(text2mat(data, vectorizer='TfidfVectorizer', semantic='NMF', corpus=data)[0], np.ndarray)
26
27def test_transform_no_text_model():
28 assert isinstance(text2mat(data, semantic=None, corpus=data)[0], np.ndarray)
29
30def test_text_model_params():
31 assert isinstance(text2mat(data, semantic={

Callers

nothing calls this directly

Calls 1

text2matFunction · 0.90

Tested by

no test coverage detected