Skip to content

Commit d549040

Browse files
committed
fix dim info in docstring for print_highest_ranking_documents
1 parent bd126c0 commit d549040

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

turftopic/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def print_highest_ranking_documents(
161161
ID of the topic to display.
162162
raw_documents: list of str
163163
List of documents to consider.
164-
document_topic_matrix: ndarray of shape (n_topics, n_topics), optional
164+
document_topic_matrix: ndarray of shape (n_documents, n_topics), optional
165165
Document topic matrix to use. This is useful for transductive methods,
166166
as they cannot infer topics from text.
167167
top_k: int, default 5

0 commit comments

Comments
 (0)