Abstract
Veterinary drugs in milk poses a risk to consumers’ health. Little attention is paid to investigating residues of veterinary medicines in powdered milk, then there is a need to develop new methods for monitoring these residues. We proposed the use of random forest (RF) for the prediction of the concentration of ivermectin residues in freeze-dried milk, using FTIR spectroscopy. Eight hundred models were tested and after fine tuning the best RF model was obtained with 800 trees, 5 variables for each tree, node size 1, and 75% of the data for training. The RF regression model demonstrated good ability to predict the concentration of ivermectin residues in freeze-dried milk, with correlation and determination coefficients greater than 0.96 and low error and residual values (approximately 1.0). The proposed method is fast, simple, sensitive, low cost, non-destructive and environmentally friendly, being an alternative to make the control of ivermectin residues in milk.
Author supplied keywords
Cite
CITATION STYLE
Santana, V. R., de Magalhães, B. E. A., Minho, L. A. C., de Freitas, A. G. M., Souza, R. D., Batista, A. S., … de Albuquerque Fernandes, S. A. (2025). Random forest and infrared spectroscopy to detect contamination of freeze-dried milk by ivermectin residues. Ciencia Rural, 55(12). https://doi.org/10.1590/0103-8478cr20240536
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.