generate_topic_heatmap
Visualize document-topic probability matrix as a heatmap to identify which topics are most prominent in each document.
Instructions
Generate heatmap showing document-topic probability matrix. Visualizes which topics are most prominent in which documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_type | Yes | Topic model type | |
| output_path | Yes | Path to save the heatmap image (PNG) | |
| max_topics | No | Maximum number of topics to include (default: 20) | |
| max_documents | No | Maximum number of documents to include (default: 50) |