-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] Change deprecation warning for doc_topic_distr from future to present… #8146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] Change deprecation warning for doc_topic_distr from future to present… #8146
Conversation
@@ -763,7 +763,7 @@ def perplexity(self, X, doc_topic_distr='deprecated', sub_sampling=False): | |||
|
|||
doc_topic_distr : None or array, shape=(n_samples, n_topics) | |||
Document topic distribution. | |||
If it is None, it will be generated by applying transform on X. | |||
This argument is deprecated and is currenly being ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currenly -> currently
@@ -753,8 +753,8 @@ def perplexity(self, X, doc_topic_distr='deprecated', sub_sampling=False): | |||
Perplexity is defined as exp(-1. * log-likelihood per word) | |||
|
|||
.. versionchanged:: 0.19 | |||
*doc_topic_distr* argument has been depricated because user no | |||
longer has access to unnormalized distribution | |||
*doc_topic_distr* argument has been depricated and is ignored |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depricated -> deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 if we have no other choice.
Seems like this should go in for 0.19, didn't realize it was still out there. @jnothman ? |
LGTM. Thanks for the pink, @naoyak |
… tense
Reference Issue
#7992 (comment)
What does this implement/fix? Explain your changes.
Clarifies that the doc_topic_distr arguement of the perplexity method is already being ignored as of the version 0.19 release.
Any other comments?