Structural Topic Model (STM)

STM discovers latent topics using probabilistic modeling while incorporating document metadata as covariates. It models how topics vary across documents based on metadata like time, author, or category.


Best For


Usage

Set topic count, add covariates, and evaluate model quality with metrics.


Quality Metrics

Choosing K: Prefer models in the upper-right of the semantic-coherence vs. exclusivity scatter (high on both).


References


Learn More: Structural Topic Model | STM Vignette