Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the docstring of GAM classes #324

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pygam/pygam.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class GAM(Core, MetaTermMixin):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down Expand Up @@ -2421,7 +2421,7 @@ class LinearGAM(GAM):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down Expand Up @@ -2558,7 +2558,7 @@ class LogisticGAM(GAM):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down Expand Up @@ -2737,7 +2737,7 @@ class PoissonGAM(GAM):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down Expand Up @@ -3113,7 +3113,7 @@ class GammaGAM(GAM):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down Expand Up @@ -3232,7 +3232,7 @@ class InvGaussGAM(GAM):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down Expand Up @@ -3341,7 +3341,7 @@ class ExpectileGAM(GAM):
----------
coef_ : array, shape (n_classes, m_features)
Coefficient of the features in the decision function.
If fit_intercept is True, then self.coef_[0] will contain the bias.
If fit_intercept is True, then self.coef_[-1] will contain the bias.

statistics_ : dict
Dictionary containing model statistics like GCV/UBRE scores, AIC/c,
Expand Down