Skip to content

Commit 98f645a

Browse files
committed
Remove the interface for describeTopics. Because it is not implemented.
1 parent 57ac03d commit 98f645a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

python/pyspark/mllib/clustering.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -612,14 +612,6 @@ def vocabSize(self):
612612
"""Vocabulary size (number of terms or terms in the vocabulary)"""
613613
return self.call("vocabSize")
614614

615-
def describeTopics(self, maxTermsPerTopic=None):
616-
"""Return the topics described by weighted terms.
617-
618-
TODO:
619-
Implementing this method is a little hard. Since Scala's return value consistes of tuples.
620-
"""
621-
raise NotImplementedError("LDAModel.describeTopics() in Python must be implemented.")
622-
623615

624616
class LDA():
625617

0 commit comments

Comments
 (0)