pp_local_centering — Local Centering

Group: Signal transforms · Binding: n4m.sklearn.LocalCentering · C ABI: n4m_pp_local_centering_*

Description

Transfer by subtracting source mean and adding target mean.

Parameters

No constructor parameters.

Explanations

Bibliographic source

Standard spectroscopic operator — see the nirs4all preprocessing / augmentation handbook and the cited literature within the binding docstring.

Mathematical principle

Transfer by subtracting source mean and adding target mean.

Implementation

C ABI n4m_pp_local_centering_* in libn4m (create / apply / destroy lifecycle), wrapped by n4m.sklearn.LocalCentering. The same numerical kernel backs every language binding.

Usage

from n4m.sklearn import LocalCentering
op = LocalCentering()
X_transformed = op.fit_transform(X)

See also: methods index · interactive dashboard