chemotools.scale#

Scaling methods to normalize spectral intensity and improve model performance.

Import from this module:

from chemotools.scale import (
    BandScaler,
    MinMaxScaler,
    NormScaler,
    ParetoScaler,
    PointScaler,
)

Available Classes#

Class

Description

BandScaler

Scale by the average intensity or area of a spectral band

MinMaxScaler

Scale features to a given range (min-max normalization)

NormScaler

Scale by vector norm (L1, L2, or max)

ParetoScaler

Scale by a generalized power of the standard deviation (Pareto scaling)

PointScaler

Scale relative to a specific point in the spectrum

See Also#

Scale Methods Overview - Complete documentation with examples and visual guides