Skip to content
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

Fixing some minor typos in the docs #2790

Merged
merged 2 commits into from
Jan 13, 2018
Merged

Conversation

darcymeyer
Copy link

No description provided.

@@ -244,7 +244,7 @@ also need to include the additional arguments, :code:`X`, :code:`y`, and
This second block produces the conditional distributions. Notice that extra
arguments are required for conditionals of :math:`f1` and :math:`f2`, but not
:math:`f`. This is because those arguments are cached when calling
:code:`.marginal_likelihood` was called on :code:`gp`.
:code:`.marginal_likelihood` on :code:`gp`.
Copy link
Member

Choose a reason for hiding this comment

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

I think the original is correct here: "...are cached when calling marginal likelihood on gp."

Copy link
Author

Choose a reason for hiding this comment

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

My thinking when I read the sentence was that the action "to be called" was repeated and that one copy should be removed, but since I'm not familiar with the code at all it's completely possible I misinterpreted the statement, and "calling .marginal_likelihood" (as a gerund) is what is actually called on gp.

Copy link
Member

Choose a reason for hiding this comment

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

I see. Could say “are cached when marginal_likelihood is called on gp.” instead.

@fonnesbeck
Copy link
Member

Thanks for this.

@fonnesbeck fonnesbeck merged commit f20ed05 into pymc-devs:master Jan 13, 2018
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.

None yet

2 participants