Shrinkage

shrinkage.Preprocessing

Shrinkage for Python · python · 0.2.0

Preprocessing(
    centering: str,
    scaling: str,
    centers: FloatArray | None,
    scales: FloatArray | None
)

Training-column normalization resolved during fitting.

centers and scales have shape (n_features,) when enabled and are None otherwise. Zero computed scales become one. Arrays are independent snapshots; changing them cannot change a fitted model.

centering

centering: str

scaling

scaling: str

centers

centers: FloatArray | None

scales

scales: FloatArray | None