Automating classification of veterinary biosecurity recommendations using machine learning

ProAction® is a mandatory Canadian milk quality assurance program that requires dairy farmers to conduct a biosecurity risk assessment with a veterinarian. Based on this assessment, the veterinarian provides personalized recommendations to improve farm biosecurity, resulting in a large volume of text data. This study aimed to develop a machine learning model capable of automatically classifying these biosecurity recommendations into 12 predefined categories. As the recommendations were written in French or English, all texts were translated into French to ensure consistency in feature extraction and model training. The model was trained on 11,250 manually classified veterinary recommendations from 3825 Québec dairy herds, collected between 2018 and 2021. Three algorithms were tested: Multinomial Naïve Bayes (MNB), Support Vector Machine (SVM), and Random Forest (RF). Performance was evaluated using precision, recall, and F1-score. The SVM achieved the highest performance while maintaining efficient processing time. The trained SVM model was selected to classify new recommendations collected between 2022 and 2024 from herds in Alberta, Ontario and Québec. To evaluate model's performance on this new dataset, a random sample of 250 recommendations was manually classified. The agreement between human classification and model predictions resulted in a Cohen's Kappa of 0.88, suggesting strong agreement. This study highlights the potential of machine learning to classify biosecurity recommendations and support timely, informed decision-making in dairy herd management.

Authors

Institutions

Publication Details

Journal
Preventive Veterinary Medicine
Published
2025-10-15
DOI
https://doi.org/10.1016/j.prevetmed.2025.106723
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automating classification of veterinary biosecurity recommendations using machine learning

William Lelorel Nankam Nguekap, David L. Renaud, Manon Racicot, Waseem Shaukat et al.
Preventive Veterinary Medicine
Text and Document Classification Technologies
article

Automating classification of veterinary biosecurity recommendations using machine learning

William Lelorel Nankam Nguekap, David L. Renaud, Manon Racicot, Waseem Shaukat, Simon Dufour, D.F. Kelton, Mariana Fonseca, Juan Carlos Arango‐Sabogal, Herman W. Barkema, Nancy Beauregard, M.P. Morin, Jean‐Philippe Roy, Cécile Aenishaenslin, Marie-Ève Paradis, Pablo Valdés Donoso, Gilles Fecteau, Solène Le Manac'h, Faustin Farison, Vitória R Lima-Campêlo, Karol G Solano-Suarez
article en

Abstract

ProAction® is a mandatory Canadian milk quality assurance program that requires dairy farmers to conduct a biosecurity risk assessment with a veterinarian. Based on this assessment, the veterinarian provides personalized recommendations to improve farm biosecurity, resulting in a large volume of text data. This study aimed to develop a machine learning model capable of automatically classifying these biosecurity recommendations into 12 predefined categories. As the recommendations were written in French or English, all texts were translated into French to ensure consistency in feature extraction and model training. The model was trained on 11,250 manually classified veterinary recommendations from 3825 Québec dairy herds, collected between 2018 and 2021. Three algorithms were tested: Multinomial Naïve Bayes (MNB), Support Vector Machine (SVM), and Random Forest (RF). Performance was evaluated using precision, recall, and F1-score. The SVM achieved the highest performance while maintaining efficient processing time. The trained SVM model was selected to classify new recommendations collected between 2022 and 2024 from herds in Alberta, Ontario and Québec. To evaluate model's performance on this new dataset, a random sample of 250 recommendations was manually classified. The agreement between human classification and model predictions resulted in a Cohen's Kappa of 0.88, suggesting strong agreement. This study highlights the potential of machine learning to classify biosecurity recommendations and support timely, informed decision-making in dairy herd management.

Preventive Veterinary MedicineVol. 246
University of Calgary (CA), Cegep de Saint Hyacinthe (CA), Association des Médecins Vétérinaires du Québec (CA), Université de Montréal (CA), University of Guelph (CA)
Openalex Percentile: Top 85%
Text and Document Classification Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.