train_lda_topics
Train an LDA topic model on documents to discover latent topics, returning top words per topic and document assignments.
Instructions
Train LDA (Latent Dirichlet Allocation) topic model on documents. Discovers latent topics using probabilistic modeling. Returns topics with top words and document assignments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_topics | No | Number of topics to discover (default: 10) | |
| max_iter | No | Maximum iterations (default: 100) | |
| random_state | No | Random seed for reproducibility (default: 42) |