基于集成学习的鹅蛋成活性检测方法研究

    Research on an ensemble learning- based method for detecting goose egg viability

    • 摘要:
      目的 为解决鹅蛋孵化过程中无精蛋与死胚蛋人工筛选效率低、现有检测方法成本高的问题,该研究提出一种基于机器学习的鹅蛋成活性三分类(死胚蛋、受精蛋、无精蛋)检测方法。
      方法 首先,构建定制化机器视觉系统采集504枚鹅蛋孵化3~9天的照蛋图像,提取RGB与HSI双模型颜色特征及灰度共生矩阵、Tamura纹理特征共37项,经方差分析、轻量级梯度提升机进行特征重要性评估,结合斯皮尔曼相关系数进行特征之间的相关性分析,共同筛选得到25种图像特征。接着,以支持向量机、随机森林、梯度提升机为基学习器,通过软投票机制构建Voting集成学习模型,并借助SHAP算法解析模型决策逻辑。
      结果 结果表明,集成模型综合准确率达77.23%,F1得分为77.50%,优于单一基分类器。在孵化6天后模型分类准确率稳定在85.29~87.76%,孵化7天后无精蛋分类精确率达100%。
      结论 该方法成本低廉、适配生产实际流程,为保种孵化场和小型孵化场规模化筛选种蛋提供了高效可靠的技术方案。

       

      Abstract:
      Objective To address the low efficiency of manual screening and the high cost of existing detection methods for infertile eggs and dead-embryo eggs during goose egg incubation, this study proposed a machine learning-based ternary classification method (dead-embryo eggs, fertilized eggs, infertile eggs) for detecting goose egg viability.
      Method A customized machine vision system was constructed to acquire candling images of 504 goose eggs from day 3 to day 9 of incubation. A total of 37 image features were extracted, including RGB and HSI dual-model color features, as well as gray-level co-occurrence matrix and Tamura texture features. Through analysis of variance and LightGBM-based feature importance evaluation, combined with Spearman correlation analysis, 25 image features were finally selected. A voting ensemble learning model was then built with support vector machines, random forests, and gradient boosting machines as base learners using a soft voting mechanism, and the model decision logic was interpreted by the SHAP algorithm.
      Result The ensemble model achieved an overall accuracy of 77.23% and an F1 score of 77.50%, outperforming each single base classifier. After 6 days of incubation, the classification accuracy stabilized at 85.29–87.76%, and after 7 days, the precision for unfertile eggs reached 100%.
      Conclusion This method is low-cost and well suited to practical production workflows, providing an efficient and reliable technical solution for large-scale screening of hatching eggs in conservation hatcheries and small-scale hatcheries.

       

    /

    返回文章
    返回