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

Function test_geo_text_data_marker

tests/test_geo.py:73–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72
73def test_geo_text_data_marker():
74 data = [['i like cats alot', 'cats r pretty cool', 'cats are better than dogs'],
75 ['dogs rule the haus', 'dogs are my jam', 'dogs are a mans best friend']]
76 geo = plot(data, '.', show=False)
77 assert isinstance(geo, DataGeometry)
78 assert geo.transform(data)[0].shape[1]==3
79 assert geo.semantic == 'LatentDirichletAllocation'
80 assert isinstance(geo.plot(show=False), DataGeometry)

Callers

nothing calls this directly

Calls 3

plotFunction · 0.90
plotMethod · 0.80
transformMethod · 0.45

Tested by

no test coverage detected