File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
sklearn/linear_model/_glm Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 9
9
10
10
# List of modules ignored when checking for numpydoc validation.
11
11
DOCSTRING_IGNORE_LIST = [
12
- "GammaRegressor" ,
13
12
"GaussianProcessRegressor" ,
14
13
"GaussianRandomProjection" ,
15
14
"GridSearchCV" ,
Original file line number Diff line number Diff line change @@ -606,6 +606,11 @@ class GammaRegressor(GeneralizedLinearRegressor):
606
606
607
607
.. versionadded:: 1.0
608
608
609
+ See Also
610
+ --------
611
+ PoissonRegressor : Generalized Linear Model with a Poisson distribution.
612
+ TweedieRegressor : Generalized Linear Model with a Tweedie distribution.
613
+
609
614
Examples
610
615
--------
611
616
>>> from sklearn import linear_model
@@ -648,6 +653,7 @@ def __init__(
648
653
649
654
@property
650
655
def family (self ):
656
+ """Return the family of the regressor."""
651
657
# Make this attribute read-only to avoid mis-uses e.g. in GridSearch.
652
658
return "gamma"
653
659
You can’t perform that action at this time.
0 commit comments