湖北农业科学 ›› 2026, Vol. 65 ›› Issue (2): 183-187.doi: 10.14088/j.cnki.issn0439-8114.2026.02.027

• 检测分析 • 上一篇    下一篇

基于SPA算法的藤茶风味啤酒近红外光谱波长变量优选

郭懿锋   

  1. 恩施职业技术学院,湖北 恩施 445000
  • 收稿日期:2025-09-22 出版日期:2026-03-04 发布日期:2026-03-04
  • 作者简介:郭懿锋(1979-),男,湖北来凤人,副教授,硕士,主要从事经济学研究,(电话)18672041088(电子信箱)Guoyifeng1668@163.com。
  • 基金资助:
    恩施州科技局计划项目(D20230024)

Optimization of near-infrared spectral wavelength variables for vine tea-flavored beer based on the SPA algorithm

GUO Yi-feng   

  1. Enshi Polytechnic, Enshi 445000, Hubei, China
  • Received:2025-09-22 Published:2026-03-04 Online:2026-03-04

摘要: 红外光谱波长变量优选方法主要通过多次迭代,从全波段光谱中筛选出对模型贡献较大的波长变量。该方法对冗余信息的抗干扰能力较差,难以准确反映样品的真实特征。对此,提出基于SPA算法的藤茶风味啤酒近红外光谱波长变量优选方法。对近红外光谱数据进行多元散射校正,增强与成分含量相关的光谱吸收信息并去噪。利用连续投影算法对波长进行初步筛选,并结合藤茶风味检测目标成分的相关性和共线性惩罚,筛选出信息冗余低且预测能力强的波长子集。通过联合熵与互信息评估波长间冗余性,构建包含信息量与冗余惩罚的评分函数,筛选出综合得分最高的波长子集。结果表明,该方法进行波长变量优选后,光谱吸收信息覆盖度稳定在95%左右,优选效果较为理想。

关键词: SPA算法, 藤茶风味啤酒, 近红外光谱, 波长变量, 特征优选

Abstract: The wavelength variable selection method for infrared spectroscopy primarily employed multiple iterations to screen wavelength variables with significant model contribution from the full-spectrum data. This approach exhibited poor resistance to redundant information interference, making it difficult to accurately reflect the true characteristics of the sample. To address this, a wavelength variable selection method based on the SPA algorithm was proposed for near-infrared spectroscopy of vine tea-flavored beer. Multiscattering correction was applied to the near-infrared spectral data to enhance absorption information correlated with component content and reduce noise. The continuous projection algorithm was used for preliminary wavelength screening. Combined with correlation and collinearity penalties for the target components in wisteria tea flavor detection, this approach selected a wavelength subset with low information redundancy and strong predictive capability. Combined entropy and mutual information were used to assess wavelength redundancy, constructing a scoring function incorporating information content and redundancy penalties to select the subset with the highest overall score. The results showed that after wavelength variable optimization using this method, spectral absorption coverage remained stable at approximately 95%, indicating highly satisfactory optimization outcomes.

Key words: SPA algorithm, vine tea-flavored beer, near-infrared spectroscopy, wavelength variables, feature selection

中图分类号: