From 72971f44776bfd2a8d9bf3b6daf717b07ead7345 Mon Sep 17 00:00:00 2001 From: Matthias Schmidtblaicher Date: Mon, 15 Jan 2024 10:02:12 +0100 Subject: [PATCH] consistent linebreaks in docstring --- src/glum/_glm.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/glum/_glm.py b/src/glum/_glm.py index 932fc44f..71bd142b 100644 --- a/src/glum/_glm.py +++ b/src/glum/_glm.py @@ -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) @@ -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) @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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