Weekly milk prediction on dairy goats using neural networks (original) (raw)

Abstract

Artificial neural networks (NN) have been widely used for both prediction and classification tasks in many fields of knowledge; however, few studies are available on dairy science. In this work, we use NN models to predict next week’s goat milk based on the current and previous milk production. A total of 35 Murciano-Granadina dairy goats were selected from a commercial farm according to number of lactation, litter size and body weight. Input variables taken into account were diet, milk production, stage of lactation and days between partum and first control. From the 35 goats, 22 goats were used to build the neural model and 13 goats were used to validate the model. It is important to emphasize that these 13 goats were not used to build the model in order to demonstrate the generalization capability of the network. Afterwards, the neural models that provided better prediction results were analysed in order to determine the relative importance of the input variables of the model. We found that the most important inputs are present and previous milk production, followed by days between parturition, and first milk control, and type of diet. Besides, we benchmark NN to other widely used prediction models, such as auto-regressive system modelling or naïve prediction. The results obtained with the neural models are better than with the rest of models. The best neural model in terms of accuracy provided a root mean square error equal to 0.57 kg/day and a low bias mean error equal to − 0.05 kg/day. Dairy goat farmers could make management decisions during current lactation from one week to the next (present time), based on present and/or previous milk production and dairy goat factors, without waiting until the end of lactation.

Access this article

Log in via an institution

Subscribe and save

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Falagán A, Guerrero JE, Serrano A (1995) Systèmes d’elevage caprin dans le sud de l’Espagne in Proc. Goat production systems in the Mediterranean. EAAP publication no. 71, Wageningen Pers, Wageningen, The Netherlands, pp 38–50
  2. Analla M, Jiménez-Gamero I, Muñoz-Serrano A, Serradilla JM, Falagán A (1996) Estimation of genetic parameters for milk yield and fat and protein contents of milk from Murciano-Granadina goats. J Dairy Sci 79:1895–1998
    Google Scholar
  3. Hanigan M, Bequette B, Cromton L, France J (2000) Modeling mammary aminoacid metabolism. Livest Prod Sci 70(1–2):63–78
    Article Google Scholar
  4. Wilmink JBM (1987) Studies on test-day and lactation milk, fat and protein yield of dairy cows. PhD Royal Dutch Cattle Syndicate, Arnhem, p 123
  5. Van Tassel CP, Jones LR, Eicker SW (1995) Production evaluation techniques base don lactation curves. J Dairy Sci 78:457–465
    Google Scholar
  6. Scott TA, Yandell B, Zepeda L, Shaver RD, Smith TR (1996) Use of lactation curves for analysis of milk production data. J Dairy Sci 79:1885–1894
    Google Scholar
  7. Cappio-Borlino A, Portolano B, Todaro M, Macciota NP, Giaccone P, Pulina G (1997) Lactation curves of Valle del Belice dairy ewes for yield of milk, fat and protein estimated with test day models. J Dairy Sci 80:3023–3029
    Google Scholar
  8. Fernández C, Sánchez A, Garcés C (2002) Modeling the lactation curve for test-day milk yield in Murciano-Granadina goats. Small Rumin Res 46:29–41
    Article Google Scholar
  9. Pedauye J (1989) Lactation curve and milk composition in Murciano-Granadina goats breed. Anales de Veterinaria 5:3–11
    Google Scholar
  10. Gipson TA, Grossman M (1990) Lactation curves in dairy goats: a review. Small Rum Res 3:383–396
    Article Google Scholar
  11. Falagán A, González C, Pérez SJ, Goicoechea A, Romero C (1991) Composition and production curve in the goat’s milk. Chem Mikrobiol Technol Lebensm 13:76–82
    Google Scholar
  12. Grossman M, Koops WJ (1988) Multiphasic analysis of lactation curves in dairy cattle. J Dairy Sci 71:1598–1608
    Google Scholar
  13. Beever DE, Rook AJ, France J, Dhanoa MS, Gill M (1991) A review of empirical and mechanistic model of lactational performance by the dairy cow. Livest Prod Sci 29:115–130
    Article Google Scholar
  14. Lippmann RP (1987) An introduction to computing with neural nets. IEEE ASSP Mag 4:4–22
    Article Google Scholar
  15. Carvalheira JGV, Blake RW, Pollak E.J, Quaas RL, Duran-Castro CV (1998) Application of an autoregressive process to estimate genetic parameters and breeding values for daily milk yield in a tropical herd of Lucerna cattle and in United States Holstein herds. J Dairy Sci 81:2738–2751
    Google Scholar
  16. Pool MH, Meuwissen THE (1999) Prediction of daily milk yield from a limited number of test days using test day models. J Dairy Sci 82:1555–1564
    Google Scholar
  17. Macciotta NPP, Cappio-Borlino A, Pulina G (2000) Time series autoregressive integrated moving average modelling of test-day milk of dairy ewes. J Dairy Sci 83:1094–1103
    Article Google Scholar
  18. Ripley BD (1996) Pattern recognition and neural networks. Cambridge University Press, London
    MATH Google Scholar
  19. Haykin S (1999) Neural networks: a comprehensive foundation. Prentice Hall, Englewood Cliffs, NJ
    MATH Google Scholar
  20. Heald CW, Kim T, Sischo WM, Cooper JB, Wolfgang DR (2000) A computerized mastitis decision aid using farm-based records: an artificial neural network approach. J Dairy Sci 83:711–720
    Google Scholar
  21. Paquet J, Lacroix C, Thibault J (2000) Modeling of pH and acidity for industrial cheese production. J Dairy Sci 83:2393–2409
    Article Google Scholar
  22. Grzesiak W, Lacroix R, Wojcik J, Blaszcyk P (2003) A comparison of neural network and multiple regression predictions for 305-day lactation yield using partial lactation records. Can J Anim Sci 83:307–310
    Google Scholar
  23. Fernández C, Soria E, Martin JD, Serrano AJ (2006) Neural network for animal science applications; two case studies. Expert Syst Appl 31:444–450
    Article Google Scholar
  24. INRA, Institut National de la Recherche Agronomique (1988) Page 471 in Alimentation des bovins, ovins and caprins (feeding of cattle, sheep and goats). Paris
  25. AFRC, Agricultural and Food Research Council (1993) Energy and protein requirements of ruminants. CAB International, Wallington, UK, p 151
  26. NRC, National Research Council (1998) Guide for the care and use of laboratory animals. Publication no. 85, NIH, Washington, DC, p 23
  27. Luenberger D (1984) Linear and nonlinear programming, 2nd edn. Addison Wesley, Reading, MA
    Google Scholar
  28. Wood PDP (1969) Factors affecting the shape of the lactation curve in cattle. Anim Prod 11:307–312
    Article Google Scholar
  29. Auran T (1973) Studies on monthly and cumulative monthly milk yield record. 1 The effect of age, month of calving, herd and length of the first period. Acta Agric Scand 23:189–199
    Article Google Scholar
  30. Matlab (1997) The language of technical computing. The Mathworks Inc., Natick, MA
  31. Ljung L (1999) System identification. Theory for the user, 2nd edn. Prentice Hall, Englewood Cliffs, NJ
    Google Scholar
  32. Bishop CM (1996) Neural networks for pattern recognition. Clarendon Press, Oxford
    MATH Google Scholar
  33. Orr GB, Müller KR (1998) Neural networks: tricks of the trade. Springer, Berlin Heidenberg New York
    Google Scholar
  34. Refenes AN, Zapranis A, Francis G (1994) Stock performance modeling using neural networks: comparative study with regression models. Neural Netw 7(2):375–388
    Article Google Scholar
  35. Sarle WS (2000) How to measure importance of inputs? Available from [http://www.ftp.sas.com/pub/neural/importance.html](ftp://www ftp.sas.com/pub/neural/importance.html), accessed January 2003
  36. Fernández C, Lachica M, Garcés C, Aguilera J (2004) Necesidades nutritivas del ganado caprino lechero. In: Caprino G (ed) Agrícola Española. p 312

Download references

Author information

Authors and Affiliations

  1. Dep. Producción Animal y Ciencia de los Alimentos. Facultad de Ciencias Experimentales y de la Salud, Universidad Cardenal Herrera CEU, 46113, Moncada, Valencia, Spain
    C. Fernández & P. Sánchez-Seiquer
  2. Dep. Ingeniería Electrónica. E.T.S.E, Universidad de Valencia, 46100, Burjassot, Valencia, Spain
    E. Soria, L. Gómez-Chova, R. Magdalena, J. D. Martín-Guerrero & A. J. Serrano
  3. Dep. Tecnología Agroalimentaria. E.T.S.I. Agrónomos, Universidad Miguel Hernández, 03312, Orihuela, Alicante, Spain
    M. J. Navarro

Authors

  1. C. Fernández
  2. E. Soria
  3. P. Sánchez-Seiquer
  4. L. Gómez-Chova
  5. R. Magdalena
  6. J. D. Martín-Guerrero
  7. M. J. Navarro
  8. A. J. Serrano

Corresponding author

Correspondence toC. Fernández.

Rights and permissions

About this article

Cite this article

Fernández, C., Soria, E., Sánchez-Seiquer, P. et al. Weekly milk prediction on dairy goats using neural networks.Neural Comput & Applic 16, 373–381 (2007). https://doi.org/10.1007/s00521-006-0061-y

Download citation

Keywords