generalized_additive_models.Normal#

class generalized_additive_models.Normal(scale=None)#

Normal Distribution

__init__(scale=None)#

Create a Normal distribution.

Parameters:

scale (float or None, optional) – If None, will be set by the GAM. The default is None.

Return type:

None.

Methods

V(mu)

V_derivative(mu)

__init__([scale])

Create a Normal distribution.

deviance(*, y, mu[, sample_weight, scaled])

get_metadata_routing()

Get metadata routing of this object.

get_params([deep])

Get parameters for this estimator.

sample(mu[, size, random_state])

set_params(**params)

Set the parameters of this estimator.

to_scipy(mu)

variance(mu)

Var(Y) = V(mu) * scale

Attributes

V(mu)#
V_derivative(mu)#
continuous = True#
deviance(*, y, mu, sample_weight=None, scaled=True)#
domain = (-inf, inf)#
name = 'normal'#
to_scipy(mu)#