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

Function test_LDA_class

tests/test_text2mat.py:45–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }}, corpus=data)[0].shape[1]==20
44
45def test_LDA_class():
46 assert text2mat(data, semantic=LatentDirichletAllocation, corpus=data)[0].shape[1]==10
47
48def test_LDA_class_instance():
49 user_model = LatentDirichletAllocation(n_components=15)

Callers

nothing calls this directly

Calls 1

text2matFunction · 0.90

Tested by

no test coverage detected