Skip to content

Commit

Permalink
moving docstring text around
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Apr 12, 2023
1 parent 2909126 commit 45c19ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/xgboost_distribution/distributions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,11 @@ def get_distribution_doc():
- \"{name}\" - parameters: {subclass().params}\n"""

param_doc += """
Please see `scipy.stats` for a full description of the parameters of
each distribution: https://docs.scipy.org/doc/scipy/reference/stats.html
Note that distributions are fit using Maximum Likelihood Estimation, which
internally corresponds to minimising the negative log likelihood (NLL).
Please see `scipy.stats` for a full description of the parameters of
each distribution: https://docs.scipy.org/doc/scipy/reference/stats.html
"""

return param_doc

0 comments on commit 45c19ee

Please sign in to comment.