8000 DOC Add log-link to Gamma and Poisson Regressor (#19287) · scikit-learn/scikit-learn@96dfe1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 96dfe1e

Browse files
authored
DOC Add log-link to Gamma and Poisson Regressor (#19287)
1 parent ff2e52d commit 96dfe1e

File tree

1 file changed

+4
-0
lines changed
  • sklearn/linear_model/_glm

1 file changed

+4
-0
lines changed

sklearn/linear_model/_glm/glm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ def _more_tags(self):
390390
class PoissonRegressor(GeneralizedLinearRegressor):
391391
"""Generalized Linear Model with a Poisson distribution.
392392
393+
This regressor uses the 'log' link function.
394+
393395
Read more in the :ref:`User Guide <Generalized_linear_regression>`.
394396
395397
.. versionadded:: 0.23
@@ -472,6 +474,8 @@ def family(self, value):
472474
class GammaRegressor(GeneralizedLinearRegressor):
473475
"""Generalized Linear Model with a Gamma distribution.
474476
477+
This regressor uses the 'log' link function.
478+
475479
Read more in the :ref:`User Guide <Generalized_linear_regression>`.
476480
477481
.. versionadded:: 0.23

0 commit comments

Comments
 (0)
0