Next Article in Journal
Herbicides Harm Key Orchard Predatory Mites
Next Article in Special Issue
Temperature Dependency of Insect’s Wingbeat Frequencies: An Empirical Approach to Temperature Correction
Previous Article in Journal
Life Histories and Functional Responses of Two Predatory Mites Feeding on the Stored-Grain Pest Liposcelis bostrychophila Badonnel (Psocoptera: Liposcelididae)
Previous Article in Special Issue
Host-Specific Diversity of Culturable Bacteria in the Gut Systems of Fungus-Growing Termites and Their Potential Functions towards Lignocellulose Bioconversion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Machine Learning Techniques to Discern Optimal Rearing Conditions for Improved Black Soldier Fly Farming

1
International Centre of Insect Physiology and Ecology, Nairobi 30772-00100, Kenya
2
LabAfrica Research Centre, Strathmore University, Nairobi 59857-00200, Kenya
3
Sanergy Limited, Atlanta, GA 550288, USA
*
Author to whom correspondence should be addressed.
Insects 2023, 14(5), 479; https://doi.org/10.3390/insects14050479
Submission received: 20 March 2023 / Revised: 15 May 2023 / Accepted: 16 May 2023 / Published: 19 May 2023
(This article belongs to the Special Issue Breakthrough Technologies for Future Entomology)

Simple Summary

In recent years, farming the black soldier fly (BSF) Hermetia illucens (L.) (Diptera: Stratiomydiae) has gained popularity across the globe due to its usefulness mainly in animal feed production and waste management. The short cycle time taken to rear the BSF and the high protein content present in its larvae makes it a suitable source of feed for a variety of animals (e.g., poultry, fish, and pigs); the livestock bred as food for humans. However, despite the farming of black soldier fly larvae (BSFL) as a source of feed, its production levels are low and do not meet the existing market demand. This study explored data science and machine learning modeling approaches to discern optimal rearing conditions for improved BSFL farming. The random forest regressor machine learning algorithm gave the best prediction results. The algorithm also ranked the variables that contributed most to the prediction of the expected larvae weight. Given the studied rearing conditions, the prediction algorithm can discern and predict the expected weight of BSFL to be harvested. Tuning the production system parameters according to the order of the ranked parameters can further optimize the production of BSFL. BSFL are a source of feed for the animals that are a source of food for humans; therefore, this research contributes to alleviating food insecurity.

Abstract

As the world population continues to grow, there is a need to come up with alternative sources of feed and food to combat the existing challenge of food insecurity across the globe. The use of insects, particularly the black soldier fly (BSF) Hermetia illucens (L.) (Diptera: Stratiomydiae), as a source of feed stands out due to its sustainability and reliability. Black soldier fly larvae (BSFL) have the ability to convert organic substrates to high-quality biomass rich in protein for animal feed. They can also produce biodiesel and bioplastic and have high biotechnological and medical potential. However, current BSFL production is low to meet the industry’s needs. This study used machine learning modeling approaches to discern optimal rearing conditions for improved BSF farming. The input variables studied include the cycle time in each rearing phase (i.e., the rearing period in each phase), feed formulation type, length of the beds (i.e, rearing platforms) at each phase, amount of young larvae added in the first phase, purity score (i.e, percentage of BSFL after separating from the substrate), feed depth, and the feeding rate. The output/target variable was the mass of wet larvae harvested (kg per meter) at the end of the rearing cycle. This data was trained on supervised machine learning algorithms. From the trained models, the random forest regressor presented the best root mean squared error (RMSE) of 2.91 and an R-squared value of 80.9%, implying that the model can be used to effectively monitor and predict the expected weight of BSFL to be harvested at the end of the rearing process. The results established that the top five ranked important features that inform optimal production are the length of the beds, feed formulation used, the average number of young larvae loaded in each bed, feed depth, and cycle time. Therefore, in that priority, it is expected that tuning the mentioned parameters to fall within the required levels would result in an increased mass of BSFL harvest. These data science and machine learning techniques can be adopted to understand rearing conditions and optimize the production/farming of BSF as a source of feed for animals e.g., fish, pigs, poultry, etc. A high production of these animals guarantees more food for humans, thus reducing food insecurity.
Keywords: insect for feed; insects farming; black soldier fly; Internet of Things; machine learning insect for feed; insects farming; black soldier fly; Internet of Things; machine learning

Share and Cite

MDPI and ACS Style

Muinde, J.; Tanga, C.M.; Olukuru, J.; Odhiambo, C.; Tonnang, H.E.Z.; Senagi, K. Application of Machine Learning Techniques to Discern Optimal Rearing Conditions for Improved Black Soldier Fly Farming. Insects 2023, 14, 479. https://doi.org/10.3390/insects14050479

AMA Style

Muinde J, Tanga CM, Olukuru J, Odhiambo C, Tonnang HEZ, Senagi K. Application of Machine Learning Techniques to Discern Optimal Rearing Conditions for Improved Black Soldier Fly Farming. Insects. 2023; 14(5):479. https://doi.org/10.3390/insects14050479

Chicago/Turabian Style

Muinde, John, Chrysantus M. Tanga, John Olukuru, Clifford Odhiambo, Henri E. Z. Tonnang, and Kennedy Senagi. 2023. "Application of Machine Learning Techniques to Discern Optimal Rearing Conditions for Improved Black Soldier Fly Farming" Insects 14, no. 5: 479. https://doi.org/10.3390/insects14050479

APA Style

Muinde, J., Tanga, C. M., Olukuru, J., Odhiambo, C., Tonnang, H. E. Z., & Senagi, K. (2023). Application of Machine Learning Techniques to Discern Optimal Rearing Conditions for Improved Black Soldier Fly Farming. Insects, 14(5), 479. https://doi.org/10.3390/insects14050479

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