MCPcopy
hub / github.com/MaartenGr/BERTopic / test_get_params

Function test_get_params

tests/test_other.py:20–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_get_params():
21 model = BERTopic()
22 params = model.get_params()
23 assert not params["embedding_model"]
24 assert not params["low_memory"]
25 assert not params["nr_topics"]
26 assert params["n_gram_range"] == (1, 1)
27 assert params["min_topic_size"] == 10
28 assert params["language"] == "english"
29
30
31def test_no_plotly():

Callers

nothing calls this directly

Calls 2

get_paramsMethod · 0.95
BERTopicClass · 0.90

Tested by

no test coverage detected