“…Preliminary analysis investigated performing feature selection using gradient boosting machine learning models (Friedman, 2002 ) to select the most relevant ECs for each trait but this was not found to increase within‐trial prediction accuracy. This was supported by Costa‐Neto et al ( 2022 ) who also advocated using all ECs in ERM for prediction of new genotypes in new years. Therefore, a non‐linear kernel was calculated using all ECs according to Costa‐Neto, Fritsche‐Neto, et al ( 2021 ) and Costa‐Neto, Galli, et al ( 2021 ): where is the scaled EC matrix, is the Euclidean Distance between each element of the EC matrix ( n environments × m ECs), is a scaling factor assumed as the mean value of the Euclidean distance matrix and is a bandwidth factor which was assumed to be 1 as default.…”