# shrinkage.Gaussian

Shrinkage for Python · 0.2.0

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/datafit.py>)

<a id="constructor"></a>

```python
Gaussian(y: object, *, fit_intercept: bool = True)
```

Average squared loss divided by two, with an unpenalized intercept.

`y` must satisfy the dense response contract: an exact, aligned, native-endian float64 NumPy array of shape `(n_samples,)`. The array is retained by reference and copied when the problem is fitted.

<a id="y"></a>

## `y`

```python
y: object = field(repr=False)
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/datafit.py>)

<a id="fit_intercept"></a>

## `fit_intercept`

```python
fit_intercept: bool = field(default=True, kw_only=True)
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/datafit.py>)
