1
|
Brennan JR, L. Parsons I, Harrison M, Menendez HM. Development of an application programming interface to automate downloading and processing of precision livestock data. Transl Anim Sci 2024; 8:txae092. [PMID: 38939728 PMCID: PMC11209544 DOI: 10.1093/tas/txae092] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/13/2024] [Accepted: 06/05/2024] [Indexed: 06/29/2024] Open
Abstract
Advancements in technology have ushered in a new era of sensor-based measurement and management of livestock production systems. These sensor-based technologies have the ability to automatically monitor feeding, growth, and enteric emissions for individual animals across confined and extensive production systems. One challenge with sensor-based technologies is the large amount of data generated, which can be difficult to access, process, visualize, and monitor information in real time to ensure equipment is working properly and animals are utilizing it correctly. A solution to this problem is the development of application programming interfaces (APIs) to automate downloading, visualizing, and summarizing datasets generated from precision livestock technology (PLT). For this methods paper, we develop three APIs and accompanying processes for rapid data acquisition, visualization, systems tracking, and summary statistics for three technologies (SmartScale, SmartFeed, and GreenFeed) manufactured by C-Lock Inc (Rapid City, SD). Program R markdown documents and example datasets are provided to facilitate greater adoption of these techniques and to further advance PLT. The methodology presented successfully downloaded data from the cloud and generated a series of visualizations to conduct systems checks, animal usage rates, and calculate summary statistics. These tools will be essential for further adoption of precision technology. There is huge potential to further leverage APIs to incorporate a wide range of datasets such as weather data, animal locations, and sensor data to facilitate decision-making on time scales relevant to researchers and livestock managers.
Collapse
Affiliation(s)
- Jameson R Brennan
- Department of Animal Science, South Dakota State University, Rapid City, SD 57703, USA
| | - Ira L. Parsons
- Department of Animal Science, South Dakota State University, Rapid City, SD 57703, USA
| | | | - Hector M Menendez
- Department of Animal Science, South Dakota State University, Rapid City, SD 57703, USA
| |
Collapse
|
2
|
Leishman EM, You J, Ferreira NT, Adams SM, Tulpan D, Zuidhof MJ, Gous RM, Jacobs M, Ellis JL. Review: When worlds collide - poultry modeling in the 'Big Data' era. Animal 2023; 17 Suppl 5:100874. [PMID: 37394324 DOI: 10.1016/j.animal.2023.100874] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/30/2022] [Revised: 05/30/2023] [Accepted: 06/01/2023] [Indexed: 07/04/2023] Open
Abstract
Within poultry production systems, models have provided vital decision support, opportunity analysis, and performance optimization capabilities to nutritionists and producers for decades. In recent years, due to the advancement of digital and sensor technologies, 'Big Data' streams have emerged, optimally positioned to be analyzed by machine-learning (ML) modeling approaches, with strengths in forecasting and prediction. This review explores the evolution of empirical and mechanistic models in poultry production systems, and how these models may interact with new digital tools and technologies. This review will also examine the emergence of ML and Big Data in the poultry production sector, and the emergence of precision feeding and automation of poultry production systems. There are several promising directions for the field, including: (1) application of Big Data analytics (e.g., sensor-based technologies, precision feeding systems) and ML methodologies (e.g., unsupervised and supervised learning algorithms) to feed more precisely to production targets given a 'known' individual animal, and (2) combination and hybridization of data-driven and mechanistic modeling approaches to bridge decision support with improved forecasting capabilities.
Collapse
Affiliation(s)
- E M Leishman
- Department of Animal Biosciences, University of Guelph, Guelph, Ontario, Canada
| | - J You
- Department of Animal Biosciences, University of Guelph, Guelph, Ontario, Canada
| | - N T Ferreira
- Trouw Nutrition Canada, Puslinch, Ontario, Canada
| | - S M Adams
- Department of Animal Biosciences, University of Guelph, Guelph, Ontario, Canada
| | - D Tulpan
- Department of Animal Biosciences, University of Guelph, Guelph, Ontario, Canada
| | - M J Zuidhof
- Department of Agricultural, Food, and Nutritional Science, University of Alberta, Edmonton, Alberta, Canada
| | - R M Gous
- School of Agricultural, Earth and Environmental Sciences, University of KwaZulu-Natal, Pietermaritzburg, South Africa
| | - M Jacobs
- FR Analytics B.V., 7642 AP Wierden, The Netherlands
| | - J L Ellis
- Department of Animal Biosciences, University of Guelph, Guelph, Ontario, Canada.
| |
Collapse
|
3
|
Pomar C, Remus A. Review: Fundamentals, limitations and pitfalls on the development and application of precision nutrition techniques for precision livestock farming. Animal 2023; 17 Suppl 2:100763. [PMID: 36966025 DOI: 10.1016/j.animal.2023.100763] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/24/2022] [Revised: 02/24/2023] [Accepted: 02/27/2023] [Indexed: 03/08/2023] Open
Abstract
Precision livestock farming (PLF) concerns the management of livestock using the principles and technologies of process engineering. Precision nutrition (PN) is part of the PLF approach and involves the use of feeding techniques that allow the proper amount of feed with the suitable composition to be supplied in a timely manner to individual animals or groups of animals. Automatic data collection, data processing, and control actions are required activities for PN applications. Despite the benefits that PN offers to producers, few systems have been successfully implemented so far. Besides the economical and logistical challenges, there are conceptual limitations and pitfalls that threaten the widespread adoption of PN. Developers have to avoid the temptation of looking for the application of available sensors and instead concentrate on identifying the most appropriate and relevant information needed for the optimal functioning of PN applications. Efficient PN applications are obtained by controlling the nutrient requirement variations occurring between animals and over time. The utilization of feedback control algorithms for the automatic determination of optimal nutrient supply is not recommended. Mathematical models are the preferred data processing method for PN, but these models have to be designed to operate in real time using up-to-date information. These models are therefore structurally different than traditional nutrition or growth models. Combining knowledge- and data-driven models using machine learning and deep learning algorithms will enhance our ability to use real-time farm data, thus opening up new opportunities for PN. To facilitate the implementation of PN in farms, different experts and stakeholders should be involved in the development of the fully integrated and automatic PLF system. Precision livestock farming and PN should not be seen as just being a question of technology, but a successful marriage between knowledge and technology.
Collapse
Affiliation(s)
- Candido Pomar
- Sherbrooke Research and Development Centre, Agriculture and Agri-Food Canada, 2000 College Street, Sherbrooke, Quebec J1M 0C8, Canada.
| | - Aline Remus
- Sherbrooke Research and Development Centre, Agriculture and Agri-Food Canada, 2000 College Street, Sherbrooke, Quebec J1M 0C8, Canada
| |
Collapse
|
4
|
Brennan JR, Menendez HM, Ehlert K, Tedeschi LO. ASAS-NANP symposium: mathematical modeling in animal nutrition-Making sense of big data and machine learning: how open-source code can advance training of animal scientists. J Anim Sci 2023; 101:skad317. [PMID: 37997926 PMCID: PMC10664406 DOI: 10.1093/jas/skad317] [Citation(s) in RCA: 1] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/09/2023] [Accepted: 09/21/2023] [Indexed: 11/25/2023] Open
Abstract
Advancements in precision livestock technology have resulted in an unprecedented amount of data being collected on individual animals. Throughout the data analysis chain, many bottlenecks occur, including processing raw sensor data, integrating multiple streams of information, incorporating data into animal growth and nutrition models, developing decision support tools for producers, and training animal science students as data scientists. To realize the promise of precision livestock management technologies, open-source tools and tutorials must be developed to reduce these bottlenecks, which are a direct result of the tremendous time and effort required to create data pipelines from scratch. Open-source programming languages (e.g., R or Python) can provide users with tools to automate many data processing steps for cleaning, aggregating, and integrating data. However, the steps from data collection to training artificial intelligence models and integrating predictions into mathematical models can be tedious for those new to statistical programming, with few examples pertaining to animal science. To address this issue, we outline how open-source code can help overcome many of the bottlenecks that occur in the era of big data and precision livestock technology, with an emphasis on how routine use and publication of open-source code can help facilitate training the next generation of animal scientists. In addition, two case studies are presented with publicly available data and code to demonstrate how open-source tutorials can be utilized to streamline data processing, train machine learning models, integrate with animal nutrition models, and facilitate learning. The National Animal Nutrition Program focuses on providing research-based data on animal performance and feeding strategies. Open-source data and code repositories with examples specific to animal science can help create a reinforcing mechanism aimed at advancing animal science research.
Collapse
Affiliation(s)
- Jameson R Brennan
- Department of Animal Science, South Dakota State University West River Research and Extension Center, Rapid City, SD 57701, USA
| | - Hector M Menendez
- Department of Animal Science, South Dakota State University West River Research and Extension Center, Rapid City, SD 57701, USA
| | - Krista Ehlert
- Department of Natural Resource Management, South Dakota State University West River Research and Extension Center, Rapid City, SD 57701, USA
| | - Luis O Tedeschi
- Department of Animal Science, Texas A&M University, College Station, TX 77843-2471, USA
| |
Collapse
|
5
|
Tedeschi LO, Menendez HM, Remus A. ASAS-NANP SYMPOSIUM: Mathematical Modeling in Animal Nutrition: Training the Future Generation in Data and Predictive Analytics for Sustainable Development. A Summary of the 2021 and 2022 Symposia. J Anim Sci 2023; 101:skad318. [PMID: 37997923 PMCID: PMC10664387 DOI: 10.1093/jas/skad318] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 09/09/2023] [Accepted: 10/17/2023] [Indexed: 11/25/2023] Open
Affiliation(s)
- Luis O Tedeschi
- Texas A&M University, Department of Animal Science, College Station, TX 77843-2471, USA
| | - Hector M Menendez
- South Dakota State University West River Research and Extension Center, 711 N. Creek Dr. Rapid City, SD, 57701, USA
| | - Aline Remus
- Sherbrooke Research and Development Centre, Agriculture and Agri-Food Canada, 2000 College Street, Sherbrooke, QC J1M 1Z3, Canada
| |
Collapse
|
6
|
Kaniyamattam K, Tedeschi LO. ASAS-NANP symposium: mathematical modeling in animal nutrition: agent-based modeling for livestock systems: the mechanics of development and application. J Anim Sci 2023; 101:skad321. [PMID: 37997925 PMCID: PMC10664392 DOI: 10.1093/jas/skad321] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/20/2023] [Accepted: 09/30/2023] [Indexed: 11/25/2023] Open
Abstract
Over the last three decades, agent-based modeling/model (ABM) has been one of the most powerful and valuable simulation-based decision modeling techniques used to study the complex dynamic interactions between animals and their environment. ABM is a relatively new modeling technique in the animal research arena, with immense potential for routine decision-making in livestock systems. We describe ABM's fundamental characteristics for developing intelligent modeling systems, exemplify its use for livestock production, and describe commonly used software for designing and developing ABM. After that, we discuss several aspects of the developmental mechanics of an ABM, including (1) how livestock researchers can conceptualize and design a model, (2) the main components of an ABM, (3) different statistical methods of analyzing the outputs, and (4) verification, validation, and replication of an ABM. Then, we perform an overall analysis of the utilities of ABM in different subsystems of the livestock systems ranging from epidemiological prediction to nutritional management to livestock market dynamics. Finally, we discuss the concept of hybrid intelligent models (i.e., merging real-time data streams with intelligent ABM), which have applications in artificial intelligence-based decision-making for precision livestock farming. ABM captures individual agents' characteristics, interactions, and the emergent properties that arise from these interactions; thus, animal scientists can benefit from ABM in multiple ways, including understanding system-level outcomes, analyzing agent behaviors, exploring different scenarios, and evaluating policy interventions. Several platforms for building ABM exist (e.g., NetLogo, Repast J, and AnyLogic), but they have unique features making one more suitable for solving specific problems. The strengths of ABM can be combined with other modeling approaches, including artificial intelligence, allowing researchers to advance our understanding further and contribute to sustainable livestock management practices. There are many ways to develop and apply mathematical models in livestock production that might assist with sustainable development. However, users must be experienced when choosing the appropriate modeling technique and computer platform (i.e., modeling development tool) that will facilitate the adoption of mathematical models by certifying that the model is field-ready and versatile enough for untrained users.
Collapse
Affiliation(s)
- Karun Kaniyamattam
- Department of Animal Science, Texas A&M University, College Station, TX 77843-2471, USA
| | - Luis O Tedeschi
- Department of Animal Science, Texas A&M University, College Station, TX 77843-2471, USA
| |
Collapse
|
7
|
Wang L, Shi H, Hu Q, Gao W, Wang L, Lai C, Zhang S. Modeling net energy partition patterns of growing-finishing pigs using nonlinear regression and artificial neural networks. J Anim Sci 2023; 101:skac405. [PMID: 36545775 PMCID: PMC9863033 DOI: 10.1093/jas/skac405] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/29/2022] [Accepted: 12/12/2022] [Indexed: 12/24/2022] Open
Abstract
The objectives of this study were to evaluate the net energy (NE) partition patterns of growing-finishing pigs at different growing stages and to develop the corresponding prediction models using nonlinear regression (NLR) and artificial neural networks (ANN). Twenty-four pigs with an initial body weight (BW) of ~30 kg were kept in metabolic cages and fed ad libitum and were moved into six respiration chambers in turns until ~90 kg. The NE partition patterns, i.e., NE for maintenance (NEm), NE retained as protein (NEp), and NE retained as lipid (NEl), were calculated based on indirect calorimetry and nitrogen balance techniques. The energy balance data collected through the animal trial was then randomly split into a training data set containing 75% of the samples and a testing data set containing the remaining 25% of the samples. The NLR models and a series of ANN models were established on the training data set to predict the metabolizable energy intake, NE intake, NEm, NEp, and NEl of pigs. The best-fitted ANN models were selected by 5-fold cross-validation in the training data set. The prediction performance of the best-fitted NLR and ANN models were compared on the testing data set. The results showed that the average NE intakes of pigs were 17.71, 23.25, 24.56, and 28.96 MJ/d in 30 to 45 kg, 45 to 60 kg, 60 to 75 kg, and 75 to 90 kg, respectively. The NEm and NEl (MJ/d) kept increasing as BW increased from 30 kg to 90 kg, while the NEp increased to its maximum value and then kept in a certain range of 4.64 to 4.88 MJ/d. The proportion of NEm for pigs at 30 to 90 kg stayed within the range of 42.0% to 48.6%, while the proportion of NEl kept increasing. For the prediction models built based on the animal trial, ANN models exhibited better performance than NLR models for all the target outputs. In conclusion, NE partition patterns changed in different growth stages of pigs, and ANN models are more flexible and powerful than NLR models in predicting the NE partition patterns of growing-finishing pigs.
Collapse
Affiliation(s)
- Li Wang
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| | - Huangwei Shi
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| | - Qile Hu
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| | - Wenjun Gao
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| | - Lu Wang
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| | - Changhua Lai
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| | - Shuai Zhang
- State Key Laboratory of Animal Nutrition, College of Animal Science and Technology, China Agricultural University, Beijing 100193, China
| |
Collapse
|
8
|
Menendez HM, Brennan JR, Gaillard C, Ehlert K, Quintana J, Neethirajan S, Remus A, Jacobs M, Teixeira IAMA, Turner BL, Tedeschi LO. ASAS-NANP SYMPOSIUM: MATHEMATICAL MODELING IN ANIMAL NUTRITION: Opportunities and Challenges of Confined and Extensive Precision Livestock Production. J Anim Sci 2022; 100:6577180. [PMID: 35511692 PMCID: PMC9171331 DOI: 10.1093/jas/skac160] [Citation(s) in RCA: 10] [Impact Index Per Article: 5.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/22/2022] [Accepted: 04/28/2022] [Indexed: 11/18/2022] Open
Abstract
Modern animal scientists, industry, and managers have never faced a more complex world. Precision livestock technologies have altered management in confined operations to meet production, environmental, and consumer goals. Applications of precision technologies have been limited in extensive systems such as rangelands due to lack of infrastructure, electrical power, communication, and durability. However, advancements in technology have helped to overcome many of these challenges. Investment in precision technologies is growing within the livestock sector, requiring the need to assess opportunities and challenges associated with implementation to enhance livestock production systems. In this review, precision livestock farming and digital livestock farming are explained in the context of a logical and iterative five-step process to successfully integrate precision livestock measurement and management tools, emphasizing the need for precision system models (PSMs). This five-step process acts as a guide to realize anticipated benefits from precision technologies and avoid unintended consequences. Consequently, the synthesis of precision livestock and modeling examples and key case studies help highlight past challenges and current opportunities within confined and extensive systems. Successfully developing PSM requires appropriate model(s) selection that aligns with desired management goals and precision technology capabilities. Therefore, it is imperative to consider the entire system to ensure that precision technology integration achieves desired goals while remaining economically and managerially sustainable. Achieving long-term success using precision technology requires the next generation of animal scientists to obtain additional skills to keep up with the rapid pace of technology innovation. Building workforce capacity and synergistic relationships between research, industry, and managers will be critical. As the process of precision technology adoption continues in more challenging and harsh, extensive systems, it is likely that confined operations will benefit from required advances in precision technology and PSMs, ultimately strengthening the benefits from precision technology to achieve short- and long-term goals.
Collapse
Affiliation(s)
- H M Menendez
- Department of Animal Science (Menendez, Brennan, Quintana); Department of Natural Resource Management (Ehlert); South Dakota State University, 711 N. Creek Drive, Rapid City, South Dakota, 57702, USA
| | - J R Brennan
- Department of Animal Science (Menendez, Brennan, Quintana); Department of Natural Resource Management (Ehlert); South Dakota State University, 711 N. Creek Drive, Rapid City, South Dakota, 57702, USA
| | - C Gaillard
- Institut Agro, PEGASE, INRAE, 35590 Saint Gilles, France
| | - K Ehlert
- Department of Animal Science (Menendez, Brennan, Quintana); Department of Natural Resource Management (Ehlert); South Dakota State University, 711 N. Creek Drive, Rapid City, South Dakota, 57702, USA
| | - J Quintana
- Department of Animal Science (Menendez, Brennan, Quintana); Department of Natural Resource Management (Ehlert); South Dakota State University, 711 N. Creek Drive, Rapid City, South Dakota, 57702, USA
| | - Suresh Neethirajan
- Farmworx, Adaptation Physiology, Animal Sciences Group, Wageningen University, 6700 AH, The Netherlands
| | - A Remus
- Sherbrooke Research and Development Centre, 2000 College Street, Sherbrooke, QC J1M 1Z3, Canada
| | - M Jacobs
- FR Analytics B.V., 7642 AP Wierden, The Netherlands
| | - I A M A Teixeira
- Department of Animal, Veterinary, and Food Sciences, University of Idaho, Twin Falls, ID 83301, USA
| | - B L Turner
- Department of Agriculture, Agribusiness, and Environmental Science, and King Ranch® Institute for Ranch Management, Texas A&M University-Kingsville, 700 University Blvd MSC 228, Kingsville, TX 78363, USA
| | - L O Tedeschi
- Department of Animal Science, Texas A&M University, College Station, TX 77843-2471, USA
| |
Collapse
|