Latent Dirichlet Allocation |
Description | Latent Dirichlet Allocation is one of the popular methods in topic modeling. It is an unsupervised learning algorithm. LDA aims to identify and extract the topics from a large collection of text datasets. |
Why to Use | - Topic Identification
- To reduce the dimensionality of the data
- To understand the underlying structure of data
|
When to Use | - On larger collection of text datasets
- To cluster documents
- Building search engine or recommendation engine
| When Not to Use | - Non-textual datasets
- On short texts
- On frequently updating dataset
- Datasets with complex hierarchical structures
|
Prerequisites | - Split text into individual words
- Convert the text in lower case
- Remove stopping words
- Remove non-alphabetic characters
|
Input | Preprocessed large text dataset | Output | - Coherence Scores vs. Number of Topics Chart
- Assigned Topics
- Intertopic Distance Map (via multidimensional scaling)
- Top-30 Most Salient Terms
- λ Value Table
- WordCloud Chart
|
Statistical Methods Used | – | Limitations | - Predefined Number of Topics
- Highly Sensitive to Hyperparameters
- May Overfit the Small Datasets
- Interpretability of Topics
- Difficulty with Shorts Texts
|