Next Article in Journal
Utilization of Infrared Thermography in Assessing Thermal Responses of Farm Animals under Heat Stress
Next Article in Special Issue
Beyond the Spectrum: Unleashing the Potential of Infrared Radiation in Poultry Industry Advancements
Previous Article in Journal
Salicornia ramosissima Biomass as a Partial Replacement of Wheat Meal in Diets for Juvenile European Seabass (Dicentrarchus labrax)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting Risk of Ammonia Exposure in Broiler Housing: Correlation with Incidence of Health Issues

by
Leonardo V. S. Barbosa
1,
Nilsa Duarte da Silva Lima
2,
Juliana de Souza Granja Barros
1,
Daniella Jorge de Moura
1,*,
Fernando Estellés
3,
Adrian Ramón-Moragues
3,
Salvador Calvet-Sanz
3 and
Arantxa Villagrá García
4
1
College of Agricultural Engineering, State University of Campinas, 501 Candido Rondon Avenue, São Paulo 13083-875, Brazil
2
Department of Animal Science, Federal University of Roraima, Boa Vista 69300-000, Brazil
3
Institute of Animal Science and Technology, Universitat Politècnica de València, Camino de Vera s.n., 46022 Valencia, Spain
4
Centro de Investigación en Tecnología Animal (CITA), Valencian Institute for Agricultura Research (IVIA), 12400 Segorbe, Spain
*
Author to whom correspondence should be addressed.
Animals 2024, 14(4), 615; https://doi.org/10.3390/ani14040615
Submission received: 5 December 2023 / Revised: 3 February 2024 / Accepted: 6 February 2024 / Published: 14 February 2024

Abstract

:

Simple Summary

This study assesses the risk of ammonia exposure in broiler chicken production and correlates these risks with health issues, utilizing machine learning techniques. Two broiler breeds, fast-growing (Ross®, 42 days) and slow growing (Hubbard®, 63 days), were studied at different densities. Slow-growing birds had a fixed density of 32 kg/m2, while fast-growing ones were housed at low (16 kg/m2) and high (32 kg/m2) densities. The high concentration of atmospheric ammonia has been associated with a greater occurrence of bird health problems, such as pododermatitis, visual impairment and mucosal lesions compared to birds stocked in controlled environments with low concentrations of atmospheric ammonia. A total of 1250 birds were used, and classification algorithms (decision tree, SMO, Naive Bayes, and Multilayer Perceptron) were applied to predict ammonia risk levels. The analysis involved data selection, pre-processing, transformation, mining, and interpretation of results. The Multilayer Perceptron proved the most effective in predicting exposure risk. The Spearman’s correlation coefficient indicated a strong correlation between high ammonia concentrations and higher incidences of injuries in the birds that were evaluated. This research highlights the importance of managing ammonia levels in broiler production to mitigate health risks for both fast- and slow-growing breeds.

Abstract

The study aimed to forecast ammonia exposure risk in broiler chicken production, correlating it with health injuries using machine learning. Two chicken breeds, fast-growing (Ross®) and slow-growing (Hubbard®), were compared at different densities. Slow-growing birds had a constant density of 32 kg m−2, while fast-growing birds had low (16 kg m−2) and high (32 kg m−2) densities. Initial feeding was uniform, but nutritional demands led to varied diets later. Environmental data underwent selection, pre-processing, transformation, mining, analysis, and interpretation. Classification algorithms (decision tree, SMO, Naive Bayes, and Multilayer Perceptron) were employed for predicting ammonia risk (10–14 pmm, Moderate risk). Cross-validation was used for model parameterization. The Spearman correlation coefficient assessed the link between predicted ammonia risk and health injuries, such as pododermatitis, vision/affected, and mucosal injuries. These injuries encompassed trachea, bronchi, lungs, eyes, paws, and other issues. The Multilayer Perceptron model emerged as the best predictor, exceeding 98% accuracy in forecasting injuries caused by ammonia. The correlation coefficient demonstrated a strong association between elevated ammonia risks and chicken injuries. Birds exposed to higher ammonia concentrations exhibited a more robust correlation. In conclusion, the study effectively used machine learning to predict ammonia exposure risk and correlated it with health injuries in broiler chickens. The Multilayer Perceptron model demonstrated superior accuracy in forecasting injuries related to ammonia (10–14 pmm, Moderate risk). The findings underscored the significant association between increased ammonia exposure risks and the incidence of health injuries in broiler chicken production, shedding light on the importance of managing ammonia levels for bird welfare.

1. Introduction

Atmospheric emissions, particularly ammonia (NH3) emissions from agricultural activities, pose significant challenges to agricultural systems [1]. Monitoring and mitigating ammonia emissions demand precise assessments of ventilation systems, continuous detection during production, and effective strategies [2]. Notably, variations in emissions exist across houses, system types, bird ages, and breeds [2,3].
Poultry facilities predominantly emit ammonia due to the microbial degradation of uric acid in poultry manure, making it a primary pollutant gas [2,4]. Key factors influencing NH3 emissions include temperature, moisture content, pH, ventilation rates, litter management, and composting methods. The resulting ammonia deposition can lead to environmental damage through direct toxicity, although effective mitigation strategies are available [1].
Determining ammonia emissions, especially in facilities with natural ventilation, is challenging. Accurate assessment of ventilation rates becomes crucial, impacting the prediction of emissions concerning gas concentration and ventilation rate [5].
For poultry production, precise quantification, and analysis of ammonia concentrations during the production process are paramount. Additionally, obtaining accurate estimates of emissions and concentrations across different poultry breeds is essential to evaluate their impact on bird performance and health.
High stocking density means more birds per area, which can impact animal welfare and living conditions. In Europe, standards vary, but in some cases, lower densities are sought to promote the comfort and health of the birds. The exposure of animals to high levels of ammonia can lead to irritation of mucous membranes and the respiratory tract, conjunctivitis, and dermatitis [6,7,8,9].
The experiment was conducted in accordance with EU animal research regulations, with protocol number 2018/VSC/PEA/0067. The test was carried out at the Animal Technology and Research Center (CITA-IVIA), located in Segorbe (Castellón, Spain).
The study aimed to forecast ammonia exposure risk in broiler chicken production, correlating it with health injuries using machine learning.

2. Materials and Methods

2.1. Experiment

An animal experiment was carried out during the winter in Spain in 2019 to predict the risk condition of ammonia levels and correlate them with the health risk of broiler chickens. The experiment was approved by the Animal Ethics Committee N2018/VSC/PEA/0067 on 16 April 2018. This study was part of a doctoral thesis.
Two identical rooms (Room 1 and Room 2) were used in this test, measuring 13.2 m × 5.95 m, totaling approximately 70 m2 for each room. An automated temperature control system was installed (DNP Climate Controller, Exafan, Spain), which controlled ventilation rates in accordance with commercial temperature recommendations. The room temperature was gradually decreased from 32 °C (day 1) to 19 °C (day 42). Temperature was controlled using the temperature control sensor and recorded along with relative humidity every 10 min using a data logger (HOBO U12, Onsetcomp, Bourne, MA, USA). Furthermore, each room was equipped with an electrochemical NH3 sensor (DOL 53, Dräger, Germany). Room 1 was programmed to maintain a maximum of 10 ppm of NH3, while Room 2 was programmed to maintain a maximum of 20 ppm. These environmental conditions (ammonia concentration) were programmed to be maintained from the fourth week onwards, that is, in the second half of the production cycle, when ammonia levels tend to be higher within broiler production systems. A propane heater was used to maintain an adequate room temperature.
The difference in ammonia concentration between rooms was obtained through ventilation. However, the different ventilation rate was not significant enough to cause large temperature differences between the rooms. For the initial four weeks, both rooms maintained a comparable temperature. Yet, starting from week 5, Room 1 elevated ventilation rates led to an average temperature reduction of 1.7 °C. It is worth noting that this 1.7 °C difference is an overall average across all weeks studied. In the crucial first two weeks, the difference did not surpass 0.3 °C, making the temperature conditions practically identical and unlikely to impact the birds’ performance. Relative humidity remained consistent between the two rooms.
The experiment was carried out during the winter period, when gas concentrations were expected to be higher due to lower ventilation rates. To ensure that the desired concentrations were achieved during a relevant part of the poultry production period, it was decided to apply a urea solution to the litter. The dosage was always 0.21 L/m2 of urea solution, with a concentration of 187.5 g/L on day 32 of the rearing cycle and 93.75 g/L on days 39, 51, and 56.
Two commercial lines of broiler chicken were used, one with fast-growing (Ross®, slaughter age 42 days) and another with slow-growing (Hubbard®, slaughter age 63 days). All slow-growing birds were housed at a density of 32 kg m−2. Fast-growing birds were housed in two different housing densities: low stocking density with a final stocking density of 16 kg/m 2 and high density with a final stocking density of 32 kg m−2. A total of 1250 birds were used in this experiment, 450 of which were fast-growing birds and 800 of which were slow-growing birds. A total of 102 birds were allocated into 6 boxes designated for the slow-growth treatment at high stock density, resulting in 17 birds per box. Similarly, another 102 birds were placed in 6 boxes for the fast-growth treatment at high stock density, also with 17 birds per box. Lastly, an additional 102 birds were distributed across 6 boxes for the fast-growth treatment, housed at high stock density, maintaining the ratio of 17 birds per box. The remaining birds were positioned in the external corridors of the boxes to simulate real-field breeding conditions. Each box had 3 nipple drinkers and a manual feeder. The dimensions of the high-density boxes were 1 × 1.3 m2, whereas the low-density boxes, stocking the same number of animals, were more spacious, with dimensions of 2 × 1.3 m2 (Figure 1).
All animals were fed with Nanta brand starter commercial feed for broiler chickens from day 1 to day 18 of the trial. From day 18 until the end of the trial, each strain was fed with different feeds. The feed transition was done gradually over two days, mixing the two feeds to enhance adaptation. For feeding fast-growing breed (treatments HD and LD), two commercial feeds for fast growth (Nanta A80) and slow growth (Nanta A32) were used.
Previously, centesimal chemical analysis was conducted. The composition obtained for the fast-growing breed was crude protein: 18%, crude fat: 1.9%, crude fiber: 3.1%, ash: 6.2%, calcium: 1.00%, phosphorus: 0.67%, sodium: 0.16%, methionine: 0.33%, lysine: 0.94%. for the slow-growing breed: crude protein: 15.7%, crude fat: 3.9%, crude fiber: 2.6%, ash: 5.8%, calcium: 1.00%, phosphorus: 0.67%, sodium: 0.16%, methionine: 0.28%, lysine: 0.82%.
All birds randomly stocked in the boxes were weighed (kilograms) weekly, and their respective feed consumption was calculated. Average daily weight gain (ADG) per bird was calculated for each week of rearing, and average daily weight gain accumulated over the entire study period (42 days for fast-growing birds and 63 for slow-growing birds). Feed conversion (FCR) was also obtained for each week and for accumulated period, dividing the amount of food consumed by each pen by the weight gain of all birds present in it Table 1. The data in Table 1 are from a previously published study [10].
Room ammonia concentration data was collected by installing electrochemical sensors (DOL 53, Dräger, Germany) in each room. Assessments were carried out 24 h a day, every day of the week. In addition to the productive character determinations, during the development of the experiment, animals were sacrificed, and samples were taken at four moments: day 0, day 21, day 42, and day 63 (day 63 only for animals from the slow-growing lineage). All the sacrificed birds were previously stunned by an electric shock.
In the first sampling, on day 0 of the study, 30 animals from each lineage were randomly sacrificed before distribution into the boxes. In the second and third sampling, days 21 and 42 of the experiment, respectively, 5 animals were sampled from each pen, resulting in a total of 180 animals for each sampling day. After sacrifice, the animals were necropsied.
The indicators were assessed following the necropsy protocol, conducted by the veterinarians in our research team. Necropsy procedures were consistently deliberated upon by the same researchers throughout the study.
The fourth and final sampling was carried out on day 63 of the experiment with the same procedure as the previous two but involving only animals from the slow-growing lineage, since animals from the fast-growing lineage have a commercial production cycle of 42 days.
In the last two collections, at 42 days for fast-growing birds and at 63 days for fast-growing birds, the sampled animals were inspected for symptoms related to prolonged exposure to NH3. These exams aimed to find epidermal lesions on the legs and injuries to the eyes and respiratory tract due to this irritating gas.

2.2. Data Mining Approach

The following data analysis steps were performed: data selection, pre-processing, transformation, mining, analysis, and interpretation of results.
The data preprocessing stage covers data understanding and data preparation, which includes standardizing nomenclatures, cleaning the raw data in the spreadsheet, and dividing the database in the Weka software (version 3.8.4) [11].
For training and testing, the model employed a “stratified remove folds” filter to bifurcate the dataset into training and testing subsets. Pre-processing also included the discretization of attributes into classes that reduces and simplifies the data, making learning faster and the results denser, according to the proposed methodologies [11,12].
In the processing stage, the data set was analyzed by applying predictive classification models for training (75% of the data set with 17,062 instances) and for validation of the model with the test set (25% of the data set with 5688 instances).
The classification algorithms, decision tree (J48), Sequential Minimal Optimization (SMO), Naive Bayes and Multilayer Perceptron were applied to the training and test data sets to build a rule model for predicting ammonia risk levels in broiler chickens. The cross-validation technique (test mode: 10-fold cross-validation) was used to parameterize the analysis in all models. The number of attributes used in the modeling was seven, including “housing_condition”, “age_week”, “T-hobo (temperature of hobo)”, “UR%”, “Vent (ventilation)”, “NH3_ppm” and the response attribute “Ammonia_concentration_risk”, with a total of 5688 instances.
The study developed a machine learning model to predict the risk condition of ammonia concentration in the production of chickens of slow and fast-growing breeds with low and high production densities. The study also compared the performance of all algorithms with respect to their prediction abilities and model quality. When evaluating the models, the data was divided into training and testing subsets, then the results were compared by the performance metrics of the algorithms. The flowchart used to identify the best test algorithm is shown in Figure 2 (adapted from [13]).
The criterion used to discretize the classes of the response attribute (target) “ammonia concentration risk condition” included ammonia concentration levels in five classes described in Table 2 [9,14,15].

2.3. Performance Measures of Classification Models

The performance of the models was evaluated using various metrics, including accuracy, incorrectly classified instances, Kappa statistics, true positive rate, false positive rate, precision, sensitivity (recall), F value, Matthews Correlation Coefficient (MCC) and the confusion matrix [16,17].
Below are the equations used to evaluate the performance of the algorithms for accuracy, precision, sensitivity (recall), Matthews correlation coefficient (MCC) and F value calculated from Equations (1) to (6), respectively:
F a l s e   P o s i t i v e   R a t e = 1 ( T N ) ( F P + F N )
A c c u r a c y = ( T P + T N ) ( T P + T N + F P + F N )
P r e c i s i o n = ( T P ) ( T P + F P )
S e n s i t i v i t y = ( T P ) ( T P + F N )
M C C = T P × T N F P × F N ( T P + F P ) ( T P + F N ) ( T N + F P ) ( T N + F N )
F   v a l u e = 2 × ( P r e c i s i o n × S e n s i t i v i t y ) ( P r e c i s i o n + S e n s i t i v i t y )
where TP: true positive; TN: true negative; FP: false positive; FN: false negative.
The following items are calculated in the confusion matrix. true positives (TP), which are the positive tuples that were correctly labeled by the classifier; true negatives (TN), which are the negative tuples that were correctly labeled by the classifier; false positives (FP), which are negative tuples that were incorrectly labeled as positive; and false negatives (FN), which are the positive tuples that have been mistakenly labeled as negative. This shows the relationship between observed and predicted values in a classification problem [17].
The study compares the performance of all algorithms with respect to their prediction abilities and model quality. The flowchart used to identify the best training algorithm is shown in Figure 2.

2.4. Spearman Correlation Analysis

From the ammonia concentration risk classification data (target attribute “Ammonia_concentration_risk”), only those presenting some degree of risk were considered. The Spearman correlation coefficient (ρ, rho) was calculated, considering the presence values (numerical counts) of diseases and injuries quantified during the experimental phase, including pododermatitis, vision/affected, and mucosal injury, which encompass assessments of trachea, bronchi, lungs, eyes, paw injury, and other injuries.
A non-parametric correlation measure was applied to the injury incidence data as a function of the ammonia risk level (1 and 10 ppm) with the aim of correlating the injury incidence and the ammonia level in the conditions studied, calculated from Equation (7).
r s = 1 6 d i 2 n ( n 2 1 )

3. Results

The overall performance of the models indicated an accuracy of 100% for J48, 91.58% for SMO, 92.44% for Naive Bayes, and 99.05% for Multilayer Perceptron. The biggest error in classification was for the SMO model. The Kappa statistic was also 100% for the J48 model, followed by 89.12% for the SMO model, 90.28% for the Naive Bayes model, and 98.77% for Multilayer Perceptron. The overall performance results indicate that the Multilayer Perceptron model was the best classification model for detecting risk from ammonia concentration in chicken production.
The visualization of the decision tree generated by the J48 classification model is shown in Figure 3, the scheme indicates that if the ammonia concentration is >9 ppm, the ammonia concentration must be observed; when this concentration is ≤ 14: o, the risk is moderate; when the ammonia concentration is >4 ppm, the ammonia concentration must be observed; if the ammonia is ≤20 ppm, the risk is high; and if it is >20 ppm, the risk is very high for birds.
The main results presented in Table 3 and Table 4 show that the J48 model generated good average performance (100%) in all metrics; the SMO model presented similar performance, but with a recall of 77% for the “low risk” class. The Naive Bayes model presented similar results, with values above 85% in all metrics, and the Multilayer Perceptron model obtained the best performance of all with the most adjusted metrics, as occurred with J48. However, these overfitted results may contain overfitting.
The models’ confusion matrix is shown in Table 5. The J48 model obtained 100% correct answers for all classes and did not present a classification error. The SMO and Naive Bayes models showed more classification errors than J48 and Multilayer Perceptron, indicating that these models can still be adjusted to increase accuracy per class. The smaller the error in classifying the risk of ammonia concentration in facilities, the better the possibility of managing this ammonia concentration when decision-making is required.
Spearman’s correlation assessed the interrelationship between the risk variable of exposure to ammonia (10–14 pmm, Moderate risk) and the incidence of diseases resulting mainly from ammonia gas (Table 6). Spearman’s correlation between the risk of exposure to ammonia and the incidence of lung health problems showed a correlation of 0.549, the risk for the bronchi 0.189, for the eyes 0.378, and for the paws 0.375, so if the value of ⍴ is approached 0, the association between the two intervals is weaker. The higher the absolute value of the coefficient, the stronger the relationship between the variables. The correlation involving other injuries caused by ammonia showed a strong correlation when compared to other types of injuries, indicating a greater association between the appearance of injuries when birds are exposed to higher levels of ammonia in the production process.

4. Discussion

When evaluating risk levels of ammonia concentration across various broiler production systems, including those with fast and slow-growing birds, a clear scenario emerges depicting the impact of ammonia concentration on the production process. A convergence is observed between ammonia concentration levels and the type of production systems, as well as the technology employed in both broiler and egg production. In the context of machine learning, Internet of Things (IoT) data has been successfully employed to predict injuries that negatively impact poultry production. Although there has been a steady increase in literature addressing applications of digital technology in agribusiness in recent years, there is a notable lack of peer-reviewed articles that focus on AI-enabled IoT systems in managing poultry health and welfare. Furthermore, most previous studies are limited to specific aspects of bird welfare [18].
Similarly to this study, researchers conducted monitoring and observations, covering variables such as temperature, humidity, feces content, ammonia levels, and humidity in the poultry environment [19,20].
Studies show the implementation of sensors to supervise and regulate environmental conditions, activating appropriate devices such as ventilation, lighting, refrigeration, and heating systems, as mentioned in previous research [21,22,23,24,25].
For instance, following the approach of this study to predict injury risks, a system was designed for automatically detecting sick broilers. This system, based on the ResNet residual network, achieved a remarkable 93.70% accuracy when monitoring the behavioral physiology and productive performance of meat birds. In this study, even greater accuracy was obtained in predicting injuries caused by ammonia, with values above 98% for the Multilayer Perceptron model [26].
A system with low computational complexity that demonstrated an accuracy of 80.00% was introduced. This system can automatically adjust the environmental behavior of birds, considering variables such as temperature, humidity, light intensity, and population density [27].
Initially, it is crucial to monitor environmental parameters on a poultry farm, including elements such as temperature, humidity, ammonia levels, and light. This monitoring is essential to ensure effective control of internal conditions by automation systems. Several Machine Learning techniques are employed to monitor these environmental parameters, ranging from linear regression to fuzzy logic neuro-fuzzy and neural networks, as well as deep learning [19,23,28].
A notable system was crafted in this study, attaining an accuracy of 97.00%. This system is designed to regulate hydrothermal parameters, encompassing temperature, relative humidity, and contaminating gases. This fosters the establishment of optimal conditions for effective poultry production. The developed model’s accuracy closely approached the values observed in this study, underscoring the efficacy of these models in predicting environmental conditions [23].
Moreover, a MultiBox Detector was implemented to automatically diagnose the health status of broiler chickens, achieving an outstanding average accuracy of 99.70%. This performance surpassed the accuracy of models examined in the ammonia risk prediction study [29].
In the realm of activity recognition, a comparative analysis among decision trees, Naïve Bayes, and neural networks was conducted to discern the activities of broiler chickens [30]. The results revealed that neural networks exhibited superior overall accuracy, reaching 82.10%. Similarly, the application of the classification tree algorithm to identify behaviors in broiler breeders yielded an overall success rate of 70.30% in the validation set. Mirroring these investigations, the research focused on predicting ammonia-related risks, where the Naïve Bayes model also demonstrated excellent results, surpassing 85% accuracy.
Given that ammonia is a primary air pollutant in poultry facilities, it has significant repercussions on the ecosystem, environment, bird welfare, and human health [15], accurately estimating NH3 concentration becomes an essential imperative. This precision is crucial for proper waste management, with the ultimate goal of preserving environmental health, human health, and animal welfare [15,24]. This is just one of numerous factors in poultry breeding. Identifying and, more importantly, addressing these factors is crucial to safeguard environmental health, human well-being, and animal welfare.
This research conducted a performance evaluation involving four models, namely: multilayer perceptron, adaptive neuro-fuzzy inference systems integrated with grid partitioning and subtractive clustering (ANFIS-GP and ANFIS-SC), as well as multiple linear regression analysis. The results highlighted that ANFIS-SC stood out as the most accurate, recording an R-squared value of 0.86 in the validation set. In this study, when performing the calculation for Spearman’s correlation, a greater correlation was observed between exposure to ammonia and the incidence of lung health problems, with a correlation of 0.549 [31].
In the context of estimating ammonia concentration in poultry farms, employed a subtractive clustering technique to determine the optimal input parameters in their regression model [31]. Furthermore, proposed a real-time segmentation algorithm based on K-means clustering and the ellipse model, aiming at automated diagnosis of the health status of broiler chickens [29].
The Multilayer Perceptron demonstrated remarkable performance, establishing itself as an excellent tool for predicting the risk of injuries in broiler chickens related to ammonia concentration.

5. Conclusions

Considering the accuracy by risk level of exposure to ammonia in the broiler chicken production process, including both fast and slow growth, the Multilayer Perceptron emerges as the best predictive model in terms of evaluation and performance.
A strong positive correlation was observed between the concentration of ammonia and the incidence of lung injuries (Spearman r = 0.55) and injuries in other areas of the birds’ bodies, such as air sacs and foot pads (Spearman r = 0.75).
The prediction model for the risk level of injuries based on ammonia concentration is important, as it complements the correlation results. This information is crucial for early decision-making regarding poultry management, waste management, and controlling the microclimate in the poultry farming environment.

Author Contributions

Conceptualization, L.V.S.B., N.D.d.S.L., J.d.S.G.B., S.C.-S., A.R.-M., F.E., D.J.d.M. and A.V.G.; methodology, L.V.S.B. and N.D.d.S.L.; software, L.V.S.B. and N.D.d.S.L.; validation, L.V.S.B., N.D.d.S.L., J.d.S.G.B. and D.J.d.M.; formal analysis, L.V.S.B., D.J.d.M., F.E., A.R.-M., S.C.-S. and A.V.G.; investigation, L.V.S.B., N.D.d.S.L., J.d.S.G.B., D.J.d.M., S.C.-S., A.R.-M., F.E. and A.V.G.; data curation, L.V.S.B., N.D.d.S.L., J.d.S.G.B., D.J.d.M., S.C.-S., A.R.-M. and F.E.; writing—original draft preparation, L.V.S.B., N.D.d.S.L., J.d.S.G.B., D.J.d.M. and S.C.-S.; writing—review and editing, L.V.S.B., N.D.d.S.L., J.d.S.G.B., D.J.d.M., F.E., S.C.-S. and A.V.G.; supervision, L.V.S.B., N.D.d.S.L. and D.J.d.M.; project administration, L.V.S.B., N.D.d.S.L., D.J.d.M., A.V.G., F.E. and S.C.-S. and took the photos, L.V.S.B., N.D.d.S.L. and A.R.-M. All figures were drawn by the authors. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The experiment was conducted in accordance with EU animal research regulations, with protocol number 2018/VSC/PEA/0067 on 16 April 2018. The test was carried out at the Animal Technology and Research Center (CITA-IVIA), located in Segorbe (Castellón, Spain).

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in the article.

Acknowledgments

We would like to thank the Universidad Politrécnica de València, the State University of Campinas and the Instituto Valenciano de Investigaciones Agrárias for the physical space, laboratories and resources provided. We thank the National Institute for Agricultural Research and Experimentation and the Ministry of Economy, Industry and Competitiveness of Spain for resources offered for the research. And also Capes and Cnpq for granting scholarships.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ti, C.; Xia, L.; Chang, S.X.; Yan, X. Potential for Mitigating Global Agricultural Ammonia Emission: A Meta-Analysis. Environ. Pollut. 2019, 245, 141–148. [Google Scholar] [CrossRef] [PubMed]
  2. Nicholson, F.A.; Chambers, B.J.; Walker, A.W. Ammonia Emissions from Broiler Litter and Laying Hen Manure Management Systems. Biosyst. Eng. 2004, 89, 175–185. [Google Scholar] [CrossRef]
  3. Pescatore, A.J.; Casey, K.D.; Gates, R.S. Ammonia Emissions from Broiler Houses. J. Appl. Poult. Res. 2005, 14, 635–637. [Google Scholar] [CrossRef]
  4. Zhao, L.; Hadlocon, L.J.S.; Manuzon, R.B.; Darr, M.J.; Keener, H.M.; Heber, A.J.; Ni, J. Ammonia Concentrations and Emission Rates at a Commercial Poultry Manure Composting Facility. Biosyst. Eng. 2016, 150, 69–78. [Google Scholar] [CrossRef]
  5. Oliveira, M.D.; Sousa, F.C.; Saraz, J.O.; Calderano, A.A.; Tinôco, I.F.F.; Carneiro, A.P.S. Ammonia Emission in Poultry Facilities: A Review for Tropical Climate Areas. Atmosphere 2021, 12, 1091. [Google Scholar] [CrossRef]
  6. Tasistro, A.S.; Ritz, C.W.; Kissel, D.E. Ammonia Emissions from Broiler Litter: Response to Bedding Materials and Acidifiers. Br. Poult. Sci. 2007, 48, 399–405. [Google Scholar] [CrossRef]
  7. Kearney, G.D.; Shaw, R.; Prentice, M.; Tutor-Marcom, R. Evaluation of Respiratory Symptoms and Respiratory Protection Behavior Among Poultry Workers in Small Farming Operations. J. Agromed. 2014, 19, 162–170. [Google Scholar] [CrossRef] [PubMed]
  8. Nemer, M.; Sikkeland, L.I.B.; Kasem, M.; Kristensen, P.; Nijem, K.; Bjertness, E.; Skare, Ø.; Bakke, B.; Kongerud, J.; Skogstad, M. Airway Inflammation and Ammonia Exposure among Female Palestinian Hairdressers: A Cross-Sectional Study. Occup. Environ. Med. 2015, 72, 428–434. [Google Scholar] [CrossRef]
  9. Kristensen, H.H.; Wathes, C.M. Ammonia and Poultry Welfare: A Review. World’s Poult. Sci. J. 2000, 56, 235–245. [Google Scholar] [CrossRef]
  10. Barbosa, L.V.S.; De Moura, D.J.; Estellés, F.; Ramón-Moragues, A.; Calvet, S.; Villagrá, A. Assessment of Husbandry Practices That Can Reduce the Negative Effects of Exposure to Low Ammonia Concentrations in Broiler Houses. Animals 2022, 12, 1096. [Google Scholar] [CrossRef]
  11. Hall, M.; Frank, E.; Holmes, G.; Pfahringer, B.; Reutemann, P.; Witten, I.H. The WEKA Data Mining Software: An Update. ACM SIGKDD Explor. Newsl. 2009, 11, 10–18. [Google Scholar] [CrossRef]
  12. Larose, D.T. Data Mining and Predictive Analytics; John Wiley & Sons: Hoboken, NJ, USA, 2015; ISBN 9781118868706. [Google Scholar]
  13. Uçar, M.K.; Nour, M.; Sindi, H.; Polat, K. The Effect of Training and Testing Process on Machine Learning in Biomedical Datasets. Math. Probl. Eng. 2020, 2020, e2836236. [Google Scholar] [CrossRef]
  14. Carlile, F.S. Ammonia in Poultry Houses: A Literature Review. Worlds Poult. Sci. J. 1984, 40, 99–113. [Google Scholar] [CrossRef]
  15. Commissione Europea. Commission directive 2009/161/EU of 17 December 2009 establishing a third list of indicative values of occupational exposure. Med. Lav. 2010, 101, 145. [Google Scholar]
  16. Bowes, D.; Hall, T.; Gray, D. Comparing the Performance of Fault Prediction Models Which Report Multiple Performance Measures: Recomputing the Confusion Matrix. In Proceedings of the 8th International Conference on Predictive Models in Software Engineering, Lund, Sweden, 21–22 September 2012; pp. 109–118. [Google Scholar]
  17. Han, J.; Kamber, M.; Pei, J. Data Mining: Concepts and Techniques, 3rd ed.; Morgan Kaufmann: Waltham, MA, USA, 2012; ISBN 9780123814791. [Google Scholar]
  18. Ojo, R.O.; Ajayi, A.O.; Owolabi, H.A.; Oyedele, L.O.; Akanbi, L.A. Internet of Things and Machine Learning Techniques in Poultry Health and Welfare Management: A Systematic Literature Review. Comput. Electron. Agric. 2022, 200, 107266. [Google Scholar] [CrossRef]
  19. Debauche, O.; Mahmoudi, S.; Mahmoudi, S.A.; Manneback, P.; Bindelle, J.; Lebeau, F. Edge Computing and Artificial Intelligence for Real-Time Poultry Monitoring. Procedia Comput. Sci. 2020, 175, 534–541. [Google Scholar] [CrossRef]
  20. Lashari, M.H.; Memon, A.A.; Shah, S.A.A.; Nenwani, K.; Shafqat, F. IoT Based Poultry Environment Monitoring System. In Proceedings of the 2018 IEEE International Conference on Internet of Things and Intelligence System (IOTAIS), Bali, Indonesia, 1–3 November 2018; pp. 1–5. [Google Scholar]
  21. Choukidar, G.A.; Dawande, N.A. Smart Poultry Farm Automation and Monitoring System. In Proceedings of the 2017 International Conference on Computing, Communication, Control and Automation (ICCUBEA), Pune, India, 17–18 August 2017; pp. 1–5. [Google Scholar]
  22. Gunawan, T.S.; Sabar, M.F.; Nasir, H.; Kartiwi, M.; Motakabber, S.M.A. Development of Smart Chicken Poultry Farm Using RTOS on Arduino. In Proceedings of the 2019 IEEE International Conference on Smart Instrumentation, Measurement and Application (ICSIMA), Kuala Lumpur, Malaysia, 27–29 August 2019; pp. 1–5. [Google Scholar]
  23. Lahlouh, I.; Rerhrhaye, F.; Elakkary, A.; Sefiani, N. Experimental Implementation of a New Multi Input Multi Output Fuzzy-PID Controller in a Poultry House System. Heliyon 2020, 6, e04645. [Google Scholar] [CrossRef]
  24. Li, G.; Ji, B.; Li, B.; Shi, Z.; Zhao, Y.; Dou, Y.; Brocato, J. Assessment of Layer Pullet Drinking Behaviors under Selectable Light Colors Using Convolutional Neural Network. Comput. Electron. Agric. 2020, 172, 105333. [Google Scholar] [CrossRef]
  25. Lorencena, M.C.; Southier, L.F.P.; Casanova, D.; Ribeiro, R.; Teixeira, M. A Framework for Modelling, Control and Supervision of Poultry Farming. Int. J. Prod. Res. 2020, 58, 3164–3179. [Google Scholar] [CrossRef]
  26. Zhang, H.; Chen, C. Design of Sick Chicken Automatic Detection System Based on Improved Residual Network. In Proceedings of the 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chongqing, China, 12–14 June 2020; Volume 1, pp. 2480–2485. [Google Scholar]
  27. So-In, C.; Poolsanguan, S.; Rujirakul, K. A Hybrid Mobile Environmental and Population Density Management System for Smart Poultry Farms. Comput. Electron. Agric. 2014, 109, 287–301. [Google Scholar] [CrossRef]
  28. Pereira, W.F.; da Silva Fonseca, L.; Putti, F.F.; Góes, B.C.; de Paula Naves, L. Environmental Monitoring in a Poultry Farm Using an Instrument Developed with the Internet of Things Concept. Comput. Electron. Agric. 2020, 170, 105257. [Google Scholar] [CrossRef]
  29. Zhuang, X.; Zhang, T. Detection of Sick Broilers by Digital Image Processing and Deep Learning. Biosyst. Eng. 2019, 179, 106–116. [Google Scholar] [CrossRef]
  30. Banerjee, D.; Biswas, S.; Daigle, C.; Siegford, J.M. Remote Activity Classification of Hens Using Wireless Body Mounted Sensors. In Proceedings of the 2012 9th International Conference on Wearable and Implantable Body Sensor Networks, London, UK, 9–12 May 2012; pp. 107–112. [Google Scholar]
  31. Küçüktopcu, E.; Cemek, B. Comparison of Neuro-Fuzzy and Neural Networks Techniques for Estimating Ammonia Concentration in Poultry Farms. J. Environ. Chem. Eng. 2021, 9, 105699. [Google Scholar] [CrossRef]
Figure 1. Experimentation room with detailed layout of experimental compartments.
Figure 1. Experimentation room with detailed layout of experimental compartments.
Animals 14 00615 g001
Figure 2. Flowchart of training and testing models to identify the best model.
Figure 2. Flowchart of training and testing models to identify the best model.
Animals 14 00615 g002
Figure 3. Visualization of J48 decision tree model.
Figure 3. Visualization of J48 decision tree model.
Animals 14 00615 g003
Table 1. Broiler growth and feeding data: Comparison between SHD, FHD and FLD treatments.
Table 1. Broiler growth and feeding data: Comparison between SHD, FHD and FLD treatments.
DaySHD_Weight (g/bird)FHD_Weight (g/bird)FLD_Weight (g/bird)SHD_Feed Consumption (g/animal/week)FHD_Feed Consumption (g/animal/week)FLD_Feed Consumption (g/animal/week)SHD_Feed Conversion RatioFHD_Feed Conversion RatioFLD_Feed Conversion Ratio
7144.8157.75160.450.110.1340.131.141.21.12
14323.1413.2428.60.260.3710.361.581.351.38
21544.55788.25789.150.50.7130.6652.082.021.89
28907.31234.61233.550.671169.51086.51.882.662.46
351298.151810.051788.30.681448.51272.01.832.542.27
421785.052471.152461.10.91506.01362.51.892.252.09
492234.15 516.49 2.37
562726.4 1198.5 2.45
633201.45 1284.5 2.73
SHD: slow-growing-high density. FHD: fast-growing-high density. FLD: fast-growing-low density. Adapted from: [10].
Table 2. Criteria used for creating the target attribute risk of ammonia concentration for broiler.
Table 2. Criteria used for creating the target attribute risk of ammonia concentration for broiler.
Ammonia Concentration Risk
Target AttributesRisk Level
No risk0–1 pm
Low risk2–9 pm
Moderate risk10–14 pm
High risk15–20 pm
Very high risk>21 pm
Table 3. Overall performance of classification models J48, SMO, Naïve Bayes, and Multilayer Perceptron.
Table 3. Overall performance of classification models J48, SMO, Naïve Bayes, and Multilayer Perceptron.
Classifier ModelsJ48 TreeSMONaive BayesMultilayer Perceptron
Correctly classified instances (%)10091.5892.4499.05
Incorrectly classified instances (%)008.427.560.95
Kappa statistic (%)10089.1290.2898.77
SMO: Sequential Minimal Optimization.
Table 4. Performance of classification models J48, SMO, Naïve Bayes, and Multilayer Perceptron by ammonia concentration risk levels.
Table 4. Performance of classification models J48, SMO, Naïve Bayes, and Multilayer Perceptron by ammonia concentration risk levels.
J48 Tree Model
Accuracy by ClassTP Rate (%)FP Rate (%)Precision (%)Recall (%)F-Measure (%)MCC (%)
No risk100100100100100100
Low risk100100100100100100
Moderate risk100100100100100100
High risk100100100100100100
Very high risk100100100100100100
SMO Model
Accuracy by ClassTP Rate (%)FP Rate (%)Precision (%)Recall (%)F-Measure (%)MCC (%)
No risk971.098979796
Low risk771.093778481
Moderate risk946.083948985
High risk952.087959190
Very high risk920.0199929595
Naive Bayes Model
Accuracy by ClassTP Rate (%)FP Rate (%)Precision (%)Recall (%)F-Measure (%)MCC (%)
No risk9600100969897
Low risk882.093889088
Moderate risk893.089898986
High risk952.087959189
Very high risk942.086949089
Multilayer Perceptron Model
Accuracy by ClassTP Rate (%)FP Rate (%)Precision (%)Recall (%)F-Measure (%)MCC (%)
No risk991.099999998
Low risk981.098989898
Moderate risk1001.0991009999
High risk9900100999999
Very high risk10000100100100100
SMO: Sequential Minimal Optimization. TP Rate: true positive rate; FP Rate: false positive rate. MCC: Matthews correlation coefficient.
Table 5. Confusion matrix of prediction models J48, SMO, Naïve Bayes, and Multilayer Perceptron.
Table 5. Confusion matrix of prediction models J48, SMO, Naïve Bayes, and Multilayer Perceptron.
J48 Tree Model
No RiskLow RiskModerate RiskHigh RiskVery High RiskTotalClassified as
175000001750No risk
011890001189Low risk
001359001359Moderate risk
0007400740High risk
0000650650Very high risk
1750118913597406505688
SMO Model
No RiskLow RiskModerate RiskHigh RiskVery High RiskTotalClassified as
1702480001750No risk
41918230001189Low risk
02012805501355Moderate risk
002770672095High risk
00051599650Very high risk
174398615378126065688
Naive Bayes model
No RiskLow RiskModerate RiskHigh RiskVery High RiskTotalClassified as
1685590061750No risk
01046135081189Low risk
020121167611359Moderate risk
001570223740High risk
00036614650Very high risk
1685112513618057125688
Multilayer Perceptron model
No RiskLow RiskModerate RiskHigh RiskVery High RiskTotalClassified as
1731190001750No risk
2211642101189Low risk
201357001359Moderate risk
00873202099High risk
0000650650Very high risk
1755118313597336505688
Table 6. Paired Spearman correlations.
Table 6. Paired Spearman correlations.
Sample 1Sample 2Correlation95% CI ρp-Value
Risk NH3 (ppm) 10–14 pmmbronchi0.189−0.600; 0.7920.654
Risk NH3 (ppm) 10–14 pmmlungs0.549−0.313; 0.9150.159
Risk NH3 (ppm) 10–14 pmmeyes0.378−0.470; 0.8630.356
Risk NH3 (ppm) 10–14 pmmpaws0.375−0.472; 0.8620.360
Risk NH3 (ppm) 10–14 pmmother injuries0.750−0.019; 0.9610.032
Other lesions: air sacs, liver, and skin.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Barbosa, L.V.S.; Lima, N.D.d.S.; Barros, J.d.S.G.; de Moura, D.J.; Estellés, F.; Ramón-Moragues, A.; Calvet-Sanz, S.; García, A.V. Predicting Risk of Ammonia Exposure in Broiler Housing: Correlation with Incidence of Health Issues. Animals 2024, 14, 615. https://doi.org/10.3390/ani14040615

AMA Style

Barbosa LVS, Lima NDdS, Barros JdSG, de Moura DJ, Estellés F, Ramón-Moragues A, Calvet-Sanz S, García AV. Predicting Risk of Ammonia Exposure in Broiler Housing: Correlation with Incidence of Health Issues. Animals. 2024; 14(4):615. https://doi.org/10.3390/ani14040615

Chicago/Turabian Style

Barbosa, Leonardo V. S., Nilsa Duarte da Silva Lima, Juliana de Souza Granja Barros, Daniella Jorge de Moura, Fernando Estellés, Adrian Ramón-Moragues, Salvador Calvet-Sanz, and Arantxa Villagrá García. 2024. "Predicting Risk of Ammonia Exposure in Broiler Housing: Correlation with Incidence of Health Issues" Animals 14, no. 4: 615. https://doi.org/10.3390/ani14040615

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop