Skip to content

Commit

Permalink
consistent linebreaks in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasSchmidtblaicherQC committed Jan 15, 2024
1 parent 9cd1d8e commit 72971f4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/glum/_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,7 @@ def linear_predictor(
The context to use for evaluating the formula. If an integer, the
context is taken from the stack frame of the caller at the given
depth. If a dict, it is used as the context directly.
Returns
-------
array, shape (n_samples, n_alphas)
Expand Down Expand Up @@ -1398,6 +1399,7 @@ def predict(
The context to use for evaluating the formula. If an integer, the
context is taken from the stack frame of the caller at the given
depth. If a dict, it is used as the context directly.
Returns
-------
array, shape (n_samples, n_alphas)
Expand Down Expand Up @@ -1471,6 +1473,7 @@ def coef_table(
The context to use for evaluating the formula. If an integer, the
context is taken from the stack frame of the caller at the given
depth. If a dict, it is used as the context directly.
Returns
-------
pandas.DataFrame
Expand Down Expand Up @@ -1600,6 +1603,7 @@ def wald_test(
The context to use for evaluating the formula. If an integer, the
context is taken from the stack frame of the caller at the given
depth. If a dict, it is used as the context directly.
Returns
-------
WaldTestResult
Expand Down Expand Up @@ -1747,6 +1751,7 @@ def _wald_test_matrix(
If not specified, the model's ``expected_information`` attribute is used.
context : Optional[Mapping[str, Any]], default=None
The context to use for evaluating the formula.
Returns
-------
WaldTestResult
Expand Down Expand Up @@ -1851,6 +1856,7 @@ def _wald_test_feature_names(
If not specified, the model's ``expected_information`` attribute is used.
context : Optional[Mapping[str, Any]], default=None
The context to use for evaluating the formula.
Returns
-------
WaldTestResult
Expand Down Expand Up @@ -1946,6 +1952,7 @@ def _wald_test_formula(
If not specified, the model's ``expected_information`` attribute is used.
context : Optional[Mapping[str, Any]], default=None
The context to use for evaluating the formula.
Returns
-------
WaldTestResult
Expand Down Expand Up @@ -2034,6 +2041,7 @@ def _wald_test_term_names(
If not specified, the model's ``expected_information`` attribute is used.
context : Optional[Mapping[str, Any]], default=None
The context to use for evaluating the formula.
Returns
-------
WaldTestResult
Expand Down Expand Up @@ -2478,6 +2486,7 @@ def score(
The context to use for evaluating the formula. If an integer, the
context is taken from the stack frame of the caller at the given
depth. If a dict, it is used as the context directly.
Returns
-------
float
Expand Down

0 comments on commit 72971f4

Please sign in to comment.