8000 [MRG] Change deprecation warning for doc_topic_distr from future to present… by garyForeman · Pull Request #8146 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[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

Merged
merged 3 commits into from
Apr 30, 2017

Conversation

garyForeman
Copy link
Contributor

… 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?

@garyForeman garyForeman changed the title Change deprecation warning for doc_topic_distr from future to present… [MRG] Change deprecation warning for doc_topic_distr from future to present… Jan 2, 2017
@@ -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.
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depricated -> deprecated

Copy link
Contributor
@tguillemot tguillemot left a 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.

@naoyak
Copy link
Contributor
naoyak commented Apr 30, 2017

Seems like this should go in for 0.19, didn't realize it was still out there. @jnothman ?

@jnothman
Copy link
Member

LGTM. Thanks for the pink, @naoyak

@jnothman jnothman merged commit 581e135 into scikit-learn:master Apr 30, 2017
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0