<div class="section-label"><span class="num">02</span> Core</div> <div class="section-title">The forecast you always <em>get</em>.</div> After a successful prediction, thin clients always expose sizes, thresholds, and the core forecast measures on the **root** of PredictionResults (<span class="mono">result.yhat</span>, <span class="mono">result.fit</span>, …). MaxFit and Grid usually collapse to a single threshold on these fields. <p>&nbsp;</p> ## Sizes | Field | Meaning | | --- | --- | | <span class="mono">n_observations</span> (N) | Training rows | | <span class="mono">n_variables</span> (K) | Attribute columns | | <span class="mono">n_thresholds</span> (T) | Thresholds kept on this result | | <span class="mono">thresholds</span> | The threshold values (length T) | | Path | Typical T | | --- | --- | | Predict | Number of thresholds you passed | | MaxFit | **1** (the winning threshold) | | Grid | **1** (the composite) | ## Always present Length T unless noted: | Field | Role | | --- | --- | | <span class="mono">thresholds</span> | Threshold values on the result | | <span class="mono">yhat</span> | Prediction(s). On Grid, length 1: <span class="mono">float(result.yhat[0])</span> (Python) or <span class="mono">result$yhat[1]</span> (R) for the scalar | | <span class="mono">fit</span> | Reliability / conviction measure | | <span class="mono">adjusted_fit</span> | Fit after the adjustment multiplier | | <span class="mono">agreement</span> | Alignment diagnostic | | <span class="mono">asymmetry</span> | Include vs exclude contrast | | <span class="mono">k_fit</span> | K-scaled / related fit objective | | <span class="mono">outlier_influence</span> | Outlier influence measure | ## Optional companions | Field | When it appears | | --- | --- | | <span class="mono">yhat_linear</span> | If you turned on <span class="mono">include_linear_regression</span> | | <span class="mono">maxfit_index</span> | On MaxFit: marks the original search path (not collapsed to length 1). Root field on PredictionResults. | <div class="btn-row"> <a class="btn-primary" href="/Results/Weights%20&%20Insights">Weights & insights</a> <a class="btn-ghost" href="/Results/Overview">Results map</a> </div> ## Related - [[MaxFit]]: why core collapses to one threshold - [[Config/Options#PredictOptions|PredictOptions]]: thresholds and linear comparison flag