Skip to content

Fix for mean functions #2337

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 2 commits into from
Jun 21, 2017
Merged

Fix for mean functions #2337

merged 2 commits into from
Jun 21, 2017

Conversation

bwengals
Copy link
Contributor

This PR cleans up PR #2111, where things got messy (sorry about that, I closed it). It fixes the bug reported in issue #2078.

  • Zero and Constant used to return the same shape as the input, X.shape (Linear was OK)
  • All mean functions now return with shape X.shape[0].
  • fix spacing after commas in tests
  • tidy up docstrings
  • add tests for adding and multiplying mean functions

@bwengals bwengals mentioned this pull request Jun 21, 2017
@junpenglao
Copy link
Member

LGTM. Is this ready to merge?

@twiecki twiecki merged commit dcd14bc into pymc-devs:master Jun 21, 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.

3 participants