
A soil sample comes back with a prediction for organic matter. Was that number measured on the sample, or estimated from the microbial community found there? An AI model can learn associations between a community profile and an independently measured soil property. For a grower, the difference matters most when the estimate and the field’s test history disagree.
What supplies the reference value?
Wilhelm and colleagues paired bacterial community profiles with a panel of soil measurements. They trained random forests and support vector machines to predict measures of soil health, texture and tillage status. In a random forest, many decision trees each learn from examples, then their outputs are combined. The reference for an organic-matter estimate is the measured organic matter for that soil. Microbial composition supplies the predictors. Wilhelm and colleagues, predicting soil measurements (PDF)

A laboratory panel includes different kinds of targets. Predicting a numerical value, assigning a rating category and identifying tillage status require different comparisons. The authors generally found better predictions for biological ratings than for physical or chemical ratings. The strongest reported fits cannot be carried over to every property on the panel. Wilhelm and colleagues, predicting soil measurements (PDF)
Which samples belong in the test set?
Nearby samples can share soil texture and management history. Randomly splitting them can put examples from the same field in training and testing. A new-farm claim asks a harder question. Keep records from that farm together, retain the independent laboratory measurements and report the error in the original units for the property of interest. The study also evaluated predictions using independent datasets. Wilhelm and colleagues, predicting soil measurements (PDF)

Consider a prediction of 3.4% organic matter against a laboratory result of 2.8%. That difference is 0.6 percentage points. The discrepancy could involve sampling depth, timing, differences between fields or prediction error. A high ranking for a microbial group in the AI analysis establishes an association with the measured target. It does not establish what caused organic matter to change.
Write down the decision that the evidence supports
Keep sample identity, depth, date, measured property and prediction side by side. Compare prediction errors with the differences that would matter to a farm decision. When an estimate sits close to a management threshold, a repeat or independent measurement may resolve more than a second software score.

For another example of a proxy and a harvest measurement giving different answers, compare the crop rotation exercise. What Last Year’s Crop Can Tell an AI About This Year’s Yield
Try it with the evidence
Audit the organic-matter estimate
Source notes. Illustrative samples from a farm withheld from training. Predicted organic matter percentages are 3.4, 2.6 and 4.0. Independent measurements are 2.8, 2.8 and 3.6. Pair them in the order shown.
Prompt. Calculate each signed error and mean absolute error in percentage points. Explain what an additional farm would test and why these errors cannot identify the cause of a soil change.
Check your reading
The errors are +0.6, −0.2 and +0.4 percentage points. Mean absolute error is (0.6 + 0.2 + 0.4)/3 = 0.4 percentage points. Another farm tests transfer to unfamiliar conditions. These paired readings compare estimates with measurements and supply no experimental change from which to infer a cause.
Illustrated field notes
What a sample records






Interpreting a biological association







From a result to field management



