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

Documentation update in stats/joint_rv_types.py #18589

Merged
merged 8 commits into from
Feb 14, 2020

Conversation

mijo2
Copy link
Contributor

@mijo2 mijo2 commented Feb 6, 2020

References to other Issues or PRs

Revives #15063
Closes #15063
Closes #18557

Brief description of what is fixed or changed

--> Updated the documentation in two functions, NormalGamma and JointRV in stats/joint_rv_types.py

Other comments

Release Notes

  • stats
    • Updated some documentation in NormalGamma and JointRV functions

@sympy-bot
Copy link

sympy-bot commented Feb 6, 2020

Hi, I am the SymPy bot (v149). I'm here to help you write a release notes entry. Please read the guide on how to write release notes.

Your release notes are in good order.

Here is what the release notes will look like:

This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.6.

Note: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it.

Click here to see the pull request description that was parsed.

#### References to other Issues or PRs

Revives #15063
Closes #15063
Closes #18557 


#### Brief description of what is fixed or changed

--> Updated the documentation in two functions, NormalGamma and JointRV in stats/joint_rv_types.py

#### Other comments


#### Release Notes

<!-- BEGIN RELEASE NOTES -->
* stats
  * Updated some documentation in NormalGamma and JointRV functions
<!-- END RELEASE NOTES -->

Update

The release notes on the wiki have been updated.

@codecov
Copy link

codecov bot commented Feb 6, 2020

Codecov Report

Merging #18589 into master will increase coverage by 0.238%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##            master    #18589       +/-   ##
=============================================
+ Coverage   75.323%   75.561%   +0.238%     
=============================================
  Files          640       644        +4     
  Lines       167176    167515      +339     
  Branches     39427     39485       +58     
=============================================
+ Hits        125922    126577      +655     
+ Misses       35721     35413      -308     
+ Partials      5533      5525        -8

@oscarbenjamin
Copy link
Contributor

There seem to be unrelated changes in this PR.

@mijo2
Copy link
Contributor Author

mijo2 commented Feb 7, 2020

I will fix this right away

akash9712 and others added 4 commits February 7, 2020 15:48
Corrected and modified some documentation. Added doctests.
NormalGamma uses variable and parameter syms while it actually accepts
only a single symbol. So, in that function, syms was changed to sym.
The build failed due to connection error issues so in this commit
minor change was made for the build to start again.
syms: list/tuple/set of symbols for identifying each component
mu: A list/tuple/set consisting of k means,represents a k
dimensional location vector
syms: A symbol/str for identifying the random variable.
Copy link
Member

Choose a reason for hiding this comment

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

syms: A symbol/str
    For identifying the random variable

Copy link
Member

Choose a reason for hiding this comment

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

Similarly at other places.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@czgdp1807 I will make the necessary changes

A newline between the description and the type of the parameter
@mijo2 mijo2 requested a review from czgdp1807 February 10, 2020 14:16
sympy/stats/joint_rv_types.py Show resolved Hide resolved
dimensional location vector
syms: A symbol/str
For identifying the random variable.
mu: A list/matrix representing the location vector
Copy link
Member

Choose a reason for hiding this comment

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

+1

Docstring for some functions was updated to have one newline
@mijo2 mijo2 requested a review from czgdp1807 February 11, 2020 07:49
@czgdp1807
Copy link
Member

LGTM.

@mijo2 mijo2 requested review from czgdp1807 and removed request for czgdp1807 February 13, 2020 16:33
@czgdp1807 czgdp1807 merged commit 3042827 into sympy:master Feb 14, 2020
@mijo2 mijo2 deleted the 15063_stats_doc branch June 27, 2020 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants