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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "train_lda_topics"
}
}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) |