食品科学 ›› 2019, Vol. 40 ›› Issue (15): 71-77.doi: 10.7506/spkx1002-6630-20180910-093

• 基础研究 • 上一篇    下一篇

基于IGS-SVM模型的牛肉生理成熟度预测方法

季方芳,吴明清,赵 阳,陈坤杰   

  1. 南京农业大学工学院,江苏 南京 210031
  • 出版日期:2019-08-15 发布日期:2019-08-26
  • 基金资助:
    公益性行业(农业)科研专项(201303083)

Prediction Model for Beef Physiological Maturity Based on Improved Grid Search Combined with Support Vector Machine (IGS-SVM)

JI Fangfang, WU Mingqing, ZHAO Yang, CHEN Kunjie   

  1. College of Engineering, Nanjing Agricultural University, Nanjing 210031, China
  • Online:2019-08-15 Published:2019-08-26

摘要: 生理成熟度是判定牛肉质量等级的重要指标,本实验建立一种通过改进的网格搜索(improved grid search,IGS)算法优化支持向量机(support vector machine,SVM)参数的模型,以实现牛肉的生理成熟度的预测。收集18、36、54、72 月龄的牛肉样本各25 个,共计100 个。利用机器视觉,采集样本的显微图像,经过图像处理后,提取不同生理成熟度牛肉的肌纤维特征参数,用统计学方法分析牛肉生理成熟度和肌纤维特征参数之间的相关性,并以肌纤维特征参数作为输入,利用76 个训练集样本,建立牛肉生理成熟度的SVM预测模型。为优化所建立的SVM模型,提出一种IGS算法,用其对SVM模型的约束参数C以及核函数参数g进行优化,结合留一交叉验证法得到最优的(C,g)参数组合,并将最佳参数代入分类器,得到优化的牛肉生理成熟度预测模型。用24 个测试集的独立样本检测模型的适用性并估测性能,结果表明:利用该模型对牛肉生理成熟度预测的准确率可达到91.67%;与传统网格搜索算法相比,IGS算法使得模型在训练时间上缩短了1 755.41 s。这表明所建立的模型具有较好的预测效果,也说明根据牛肉肌纤维的特征参数结合机器视觉及图像分析技术,对牛肉生理成熟度进行自动判定的方法是可行的。

关键词: 牛肉, 生理成熟度, 支持向量机, 预测模型

Abstract: Physiological maturity is an important indicator to determine the quality grade of beef. This paper proposes a method to predict the physiological maturity of beef by using a support vector machine (SVM) model with parameters optimized by an improved grid search (IGS) algorithm. A total of 100 beef samples at different slaughter ages of 18, 36, 54 and 72 months (25 for each age) were collected. Using machine vision, the microscopic images of the samples were collected. After image processing, the characteristic parameters of muscle fibers from beef with different physiological maturity were extracted, and the correlation between the physiological maturity of beef and the characteristic parameters of muscle fibers was analyzed by statistical methods. Using the characteristic parameters of muscle fibers as the input, a training set of 76 samples was used to establish a SVM prediction model for beef physiological maturity. An improved grid search algorithm was proposed to optimize the constraint parameter C and the kernel function parameter g of the SVM model. Furthermore, using the leave-one-out cross validation method, the optimal parameter combination (C, g) was obtained and substituted into the classifier to obtain an optimized prediction model for beef physiological maturity. The applicability and estimation performance of the prediction model were tested with independent samples from 24 test sets. The results showed that the accuracy of the prediction model was up to 91.67%. Compared with the traditional grid search algorithm, the IGS algorithm could reduce the model training time by 1 755.41 s. There was a significant correlation between beef muscle fiber characteristics and slaughter age. According to the characteristic parameters of beef muscle fiber, the physiological maturity of beef could be determined automatically using machine vision technology.

Key words: beef, physiological maturity, support vector machine, prediction model

中图分类号: