-
Notifications
You must be signed in to change notification settings - Fork 0
Latent Dirichlet Allocation
Bell Eapen edited this page Nov 10, 2025
·
1 revision
Latent Dirichlet Allocation (LDA) is used in CRISP-T for topic modeling to extract latent themes from textual corpora. Topics can be assigned to documents and utilized for grounded theory coding, selective sampling, and triangulation with numeric analyses.
-
--topics: Builds an LDA model;--assign: assigns topics/keywords to documents. -
crispviz --ldavis: Generates an interactive topic visualization (pyLDAvis). - Topic number defaults to 8 (following guidance noted in repository documentation), configurable via
--numor--topics-numincrispviz.
- Import corpus and run
--topicsthen--assign. - Inspect document metadata for assigned keywords and topic distributions.
- Use Semantic filtering to retrieve documents by keywords (e.g.,
--filters keywords=mask). - Compare topic prevalence with quantitative patterns (e.g., regression coefficients).
- Align topics with high-importance features from decision trees or strong coefficients from regression.
- Use topic-word distributions to refine category names and definitions.
- Sample boundary documents where topics overlap to test category robustness.
Topic emphasizing "integration" terms (e.g., API, workflow) co-occurs with high training_hours and low api_errors_rate. Narrative excerpts corroborate a category about enablement.
Topic featuring "sleep," "fatigue," "energy" aligns with low sleep_balance and high fatigue_score, supporting a theory of sleep-mediated fatigue.
- Mettler et al. (2025) — Methodological reflection on computational text analysis.