← Latest papers
📄 agriculture

Machine Learning-Based Prediction of Brucella Seropositivity and Associated Factors among Rwandan Dairy Cattle with Reproductive Disorders

This study identifies socio-demographic and management factors associated with Brucella seropositivity in Rwandan dairy cattle with reproductive disorders and demonstrates that the Random Forest machine learning algorithm outperforms other models in accurately predicting seropositivity, thereby supporting the development of risk-based surveillance strategies.

Original authors: Sarah Mwera, Maximillian Manzi, Jacques Munyemana, Fabrice Ndayisenga, Methode Gasana, Pascal Nyabinwa, Mupenzi Mutimura, Eugene Niyonzima

Published 2026-11-13
📖 5 min read🧠 Deep dive

Original authors: Sarah Mwera, Maximillian Manzi, Jacques Munyemana, Fabrice Ndayisenga, Methode Gasana, Pascal Nyabinwa, Mupenzi Mutimura, Eugene Niyonzima

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the rolling hills of Rwanda, dairy farming is more than just a livelihood; it is a cornerstone of nutrition and economic stability for countless families. Yet, beneath the daily rhythm of milking and feeding lies a silent threat that can cripple herds and sicken people: brucellosis. This is a bacterial infection that spreads easily between animals and humans, often causing cows to abort their calves, stop producing milk, or become infertile. For the farmers, these losses are devastating, but the danger extends beyond the barn. Because the bacteria can live in unpasteurized milk, people who drink raw dairy products face a serious risk of infection, which can lead to long-term illness. Understanding where this disease hides and what allows it to spread is not just a matter of veterinary science; it is a critical step in protecting both the food supply and public health.

To tackle this challenge, a team of researchers from the Rwanda Agriculture and Animal Resources Development Board and the University of Rwanda set out to map the problem with a new kind of precision. They focused their attention on dairy cows that were already showing signs of reproductive trouble, such as miscarriages or difficulty conceiving, reasoning that these animals were the most likely to carry the infection. Over a six-month period in 2025, the team visited farms across four districts, collecting blood samples from 274 cows and asking farmers detailed questions about their daily practices, their education, and their knowledge of the disease. They then tested the blood using two standard laboratory methods to confirm which animals were infected. But the researchers did not stop at traditional analysis. They wanted to see if modern computer algorithms could learn from this data to predict infection risks more accurately than standard statistics, essentially training a digital tool to spot the patterns that lead to disease.

The results revealed a clear picture of the disease's footprint. Out of the 274 cows examined, roughly one in ten tested positive for the bacteria. However, the infection was not spread evenly across the landscape. The data showed a sharp geographic divide: the eastern district of Nyagatare had the highest concentration of infected animals, with nearly one in five cows testing positive, followed by Kayonza. In contrast, no infected cows were found in the samples collected from the Bugesera and Rubavu districts. This clustering suggests that the disease thrives in specific local conditions rather than being a uniform problem across the entire country. The study also highlighted that the cows with reproductive disorders were indeed a high-risk group, confirming that targeting these animals is a smart strategy for early detection.

Beyond geography, the researchers uncovered a strong link between human behavior and animal health. They found that the role a person played on the farm mattered significantly. Farmers who owned the farm or managed the herd were more likely to have infected animals than those whose job was simply to care for the cows day-to-day. This likely reflects the fact that owners and managers make the big decisions about buying new animals, breeding, and moving herds, which are all moments where the bacteria can slip in. Education also played a surprising role. While one might assume that more schooling always leads to better outcomes, the data showed that farmers with a primary or university education had lower rates of infection compared to those with secondary education. This suggests that the type of knowledge gained at different levels, or perhaps the specific resources available to those groups, influences how well a farm is protected.

Perhaps the most encouraging findings were related to prevention. The study confirmed that vaccination is a powerful shield; every single infected cow in the study had never been vaccinated, while vaccinated herds remained free of the disease. Similarly, farmers who knew about brucellosis and its dangers were less likely to have infected animals. These two factors—vaccination and awareness—emerged as the strongest protective forces, acting as a barrier against the spread of the bacteria. The researchers also noted that the source of the animals mattered, with herds that inherited their cattle or bought them from specific channels showing different risk profiles, though the exact reasons for these differences require further investigation.

To make sense of all these interconnected factors, the team fed the data into five different computer models designed to predict which cows would test positive. These models ranged from simple statistical tools to complex systems that mimic human decision-making. The results showed that a method called Random Forest, which works by building many small decision trees and combining their answers, was the most accurate predictor. It achieved an AUC of 0.89 and was particularly good at catching the positive cases that might otherwise be missed. This performance was better than the other models tested, suggesting that these advanced computer tools can indeed help veterinarians and officials prioritize which farms to check first.

The study concludes that while brucellosis remains a persistent threat in Rwanda's dairy sector, it is not an unstoppable force. The disease is concentrated in specific areas and is heavily influenced by how farms are managed and what farmers know. By focusing surveillance on high-risk districts like Nyagatare, ensuring that farm owners and managers are educated about the risks, and maintaining strict vaccination programs, the spread of the disease can be significantly reduced. The success of the computer model in predicting these risks offers a new tool for the future, allowing authorities to use data to guide their efforts rather than guessing. Ultimately, the path forward involves a combination of traditional veterinary care, informed farming practices, and smart technology to keep both the cattle and the people who depend on them safe.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →