The study aimed to evaluate the most predictive traits of fresh maize and the most appropriate multivariate approach for estimating silage fermentation quality. The use of near infrared (NIRs) instruments allowed rapid, accurate and cheap analysis. Samples of fresh maize plant (n ¼ 822) from hybrids (Class Cultivar) of early and late classes, were harvested at three maturity stages: early, medium and late, in three areas (level input field) of 'low', 'medium' and 'high' soil fertility, along three consecutive years. Several algorithms of feature selection, regression, classification and machine learning, were tested. Maize silage fermentative quality was summarised through a Fermentative Quality Index (FQI). We found the most predictive traits as dry matter (DM), starch, and acid detergent lignin (ADL), with negative coefficients, or water-soluble carbohydrates (WSC) with a positive coefficient. FQI was significantly (p < 0.0001) affected by year (negatively for 2018), level input field (positively for high level) and maturity stage (negatively for the late harvest). The most satisfying results were attained using a stepwise regression algorithm (R 2 ¼ 0.48), improved by the introduction of fixed effects (R 2 ¼ 0.55) and partial least square discriminant analysis (PLS-DA), which was assessed through the Mattew Correlation Coefficient (MCC) in validation (MCC ¼ 0.57). Concluding, among the tested approaches, the use of linear regression after stepwise algorithm or the use of PLS could be of practical help for the farmers to the effective management of the ensiling process of maize plants, even though environmental conditions should be considered to improve the predictions.
HIGHLIGHTSThe prediction of FQ at harvest would allow the farmer to tune up the ensiling process The prediction of FQ through the use of portable NIRs instruments was successful DM, starch and ADL were negatively related to FQ index ARTICLE HISTORY