chemotools.scale#

缩放方法,用于归一化光谱强度并提高模型性能。

从此模块导入:

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

可用类#

描述

BandScaler

Scale by the average intensity or area of a spectral band

MinMaxScaler

将特征缩放到给定范围(最小-最大归一化)

NormScaler

按向量范数缩放(L1、L2或最大值)

ParetoScaler

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

PointScaler

相对于光谱中特定点进行缩放

另请参阅#

缩放方法概述 - 包含示例和可视化指南的完整文档