Discriminant analysis as a tool to classify farm hay in dairy farms

PLoS One. 2023 Nov 28;18(11):e0294468. doi: 10.1371/journal.pone.0294468. eCollection 2023.

Abstract

Hay is one of the primary constituents of ruminant feed, and rapid classification systems of nutritional value are essential. A reliable approach to evaluating hay quality is a combination of visual combined inspection by NIRS analysis. The analysis was carried out on 1,639 samples of hay collected from 2016 to 2021 in northern Italy. Discriminant analysis (DAPC) on five hay types (FOM, forage mixtures; APG, first alfalfa cutting with prevalence of graminaceous >50%; PRA, prevailing alfalfa >50%; PUA, purity alfalfa >95%; and PEM, permanent meadows) was performed by ex-ante visual inspection categorization and NIRS analysis. This study aimed to provide a complementary method to differentiate hay types and classify unknown samples. Two scenarios were used: i) all data were used for model training, and the discriminant functions were extracted based on all samples; ii) the assignment of each group was assessed without samples belonging to the training set group. DAPC model resulted in an overall assignment success rate of 66%; precisely, the success was 84, 79, 69, 37, and 27% for PUA, FOM, PRA, APG, and PEM, respectively. In the second scenario, three groups showed percentages of posterior assignment probability higher than 70% to only one group: PUA with PRA (~ 99%), PRA with PUA (~71%), and PEM with FOM (~75%). Discriminant analysis can be successfully used to differentiate hay types and could also be used to assess factors related to hay quality in addition to NIRS analysis.

MeSH terms

  • Animal Feed* / analysis
  • Animals
  • Diet / veterinary
  • Discriminant Analysis
  • Farms
  • Medicago sativa
  • Rumen
  • Ruminants*

Grants and funding

The article has been developed with data from 4 projects financed by the Emilia-Romagna Region, R.D.P. 2014-2020 (Italy), Coordinated by Centro Ricerche Produzioni Animali - Soc. Cons. p. A. we declare that the funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript., which is also in line with the PlosOne’s Amended Statements.