Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection

Mastitis presents a critical challenge in dairy farming, significantly impacting both animal health and economic stability. This study advances mastitis severity classification in Holstein-Friesian cows through an interdisciplinary approach that integrates advanced machine learning methods within a...

Full description

Saved in:
Bibliographic Details
Main Authors: Manar Lashin, Ayman Samir Farid, Abdullah T. Elgammal
Format: Article
Language:English
Published: Elsevier 2024-12-01
Series:Smart Agricultural Technology
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2772375524002727
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850244990648713216
author Manar Lashin
Ayman Samir Farid
Abdullah T. Elgammal
author_facet Manar Lashin
Ayman Samir Farid
Abdullah T. Elgammal
author_sort Manar Lashin
collection DOAJ
description Mastitis presents a critical challenge in dairy farming, significantly impacting both animal health and economic stability. This study advances mastitis severity classification in Holstein-Friesian cows through an interdisciplinary approach that integrates advanced machine learning methods within a veterinary context, shifting focus from traditional disease detection or diagnosis to refined severity classification, which is critical for aligning treatment strategies with disease progression and optimizing intervention timing. Clinical measurements from 1,886 Holstein-Friesian dairy cows, aged 3-4 years, across 21 parameters were analyzed. Both Deep Neural Networks (DNN) and Random Forests (RF) were utilized, with dimensionality reduction applied through Principal Component Analysis (PCA) and correlation-based feature selection to retain essential features and enhance computational efficiency. Key parameters in the RF and DNN models were carefully selected to ensure robust performance across diverse datasets. By categorizing mastitis into acute, acute with bloody milk, and peracute stages, this study addresses unique diagnostic challenges within veterinary medicine. The RF and DNN models achieved superior accuracy, ranging from 97% to over 98%, surpassing traditional diagnostic methods in precision, recall, and F1 metrics. These findings highlight the broader applicability of machine learning advancements beyond veterinary sciences, demonstrating the potential for interdisciplinary research across veterinary medicine, computer science, and engineering to drive innovation in automated diagnostics and resource management in dairy farming. The research was conducted using the MATLAB® Deep Learning App.
format Article
id doaj-art-1ecf59b1187f4cf9a5a6feb24c00b6d5
institution OA Journals
issn 2772-3755
language English
publishDate 2024-12-01
publisher Elsevier
record_format Article
series Smart Agricultural Technology
spelling doaj-art-1ecf59b1187f4cf9a5a6feb24c00b6d52025-08-20T01:59:35ZengElsevierSmart Agricultural Technology2772-37552024-12-01910066710.1016/j.atech.2024.100667Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selectionManar Lashin0Ayman Samir Farid1Abdullah T. Elgammal2Department of Electrical Engineering, Benha Faculty of Engineering, Benha University, Benha, Egypt; Faculty of Computer Science, Benha National University, El-Obour City, Benha, EgyptDepartment of Clinical Pathology, Faculty of Veterinary Medicine, Benha University, Moshtohor, Toukh, Egypt; Faculty of Veterinary Medicine, Benha National University, El-Obour City, Benha, EgyptDepartment of Electrical Engineering, Benha Faculty of Engineering, Benha University, Benha, Egypt; Department of Mechanical Engineering, The British University in Egypt, El-Sherouk City, Egypt; Corresponding author at: Department of Mechanical Engineering, The British University in Egypt, El-Sherouk City, Egypt.Mastitis presents a critical challenge in dairy farming, significantly impacting both animal health and economic stability. This study advances mastitis severity classification in Holstein-Friesian cows through an interdisciplinary approach that integrates advanced machine learning methods within a veterinary context, shifting focus from traditional disease detection or diagnosis to refined severity classification, which is critical for aligning treatment strategies with disease progression and optimizing intervention timing. Clinical measurements from 1,886 Holstein-Friesian dairy cows, aged 3-4 years, across 21 parameters were analyzed. Both Deep Neural Networks (DNN) and Random Forests (RF) were utilized, with dimensionality reduction applied through Principal Component Analysis (PCA) and correlation-based feature selection to retain essential features and enhance computational efficiency. Key parameters in the RF and DNN models were carefully selected to ensure robust performance across diverse datasets. By categorizing mastitis into acute, acute with bloody milk, and peracute stages, this study addresses unique diagnostic challenges within veterinary medicine. The RF and DNN models achieved superior accuracy, ranging from 97% to over 98%, surpassing traditional diagnostic methods in precision, recall, and F1 metrics. These findings highlight the broader applicability of machine learning advancements beyond veterinary sciences, demonstrating the potential for interdisciplinary research across veterinary medicine, computer science, and engineering to drive innovation in automated diagnostics and resource management in dairy farming. The research was conducted using the MATLAB® Deep Learning App.http://www.sciencedirect.com/science/article/pii/S2772375524002727Mastitis severityDeep Neural Networks (DNN)Random Forests (RF)Principal Component Analysis (PCA)Automated veterinary diagnostics
spellingShingle Manar Lashin
Ayman Samir Farid
Abdullah T. Elgammal
Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection
Smart Agricultural Technology
Mastitis severity
Deep Neural Networks (DNN)
Random Forests (RF)
Principal Component Analysis (PCA)
Automated veterinary diagnostics
title Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection
title_full Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection
title_fullStr Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection
title_full_unstemmed Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection
title_short Enhanced mastitis severity classification in dairy cows using DNN and RF: A study on PCA and correlation-based feature selection
title_sort enhanced mastitis severity classification in dairy cows using dnn and rf a study on pca and correlation based feature selection
topic Mastitis severity
Deep Neural Networks (DNN)
Random Forests (RF)
Principal Component Analysis (PCA)
Automated veterinary diagnostics
url http://www.sciencedirect.com/science/article/pii/S2772375524002727
work_keys_str_mv AT manarlashin enhancedmastitisseverityclassificationindairycowsusingdnnandrfastudyonpcaandcorrelationbasedfeatureselection
AT aymansamirfarid enhancedmastitisseverityclassificationindairycowsusingdnnandrfastudyonpcaandcorrelationbasedfeatureselection
AT abdullahtelgammal enhancedmastitisseverityclassificationindairycowsusingdnnandrfastudyonpcaandcorrelationbasedfeatureselection