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

Function reduced_topic_model

tests/conftest.py:115–118  ·  view source on GitHub ↗
(custom_topic_model, documents)

Source from the content-addressed store, hash-verified

113
114@pytest.fixture(scope="session")
115def reduced_topic_model(custom_topic_model, documents):
116 model = copy.deepcopy(custom_topic_model)
117 model.reduce_topics(documents, nr_topics="auto")
118 return model
119
120
121@pytest.fixture(scope="session")

Callers

nothing calls this directly

Calls 1

reduce_topicsMethod · 0.80

Tested by

no test coverage detected