You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{key: "region_year_r",label: "r",group: "Region-Year",higherBetter: true,title: "Pearson r on all region-year rows"},
252
266
{key: "region_year_r2",label: "R²",group: "Region-Year",higherBetter: true,title: "R² on all region-year rows"},
253
267
{key: "region_year_nrmse",label: "NRMSE",group: "Region-Year",higherBetter: false,title: "Normalized RMSE on absolute yields"},
254
-
{key: "spatial_r2",label: "R² (med/yr)",group: "Spatial",higherBetter: true,title: "Median across years of within-year cross-region R² (years with ≥3 regions)"},
255
-
{key: "spatial_r2_agg",label: "R² (agg)",group: "Spatial",higherBetter: true,title: "R² on regional mean yields (mean across years per region)"},
256
-
{key: "temporal_r2",label: "R² (med/reg)",group: "Temporal",higherBetter: true,title: "Median across regions of within-region cross-year R² (regions with ≥3 years)"},
257
-
{key: "temporal_r2_agg",label: "R² (agg)",group: "Temporal",higherBetter: true,title: "R² on national mean yield series across years"},
258
-
{key: "anomaly_r2",label: "R² (med/reg)",group: "Anomaly",higherBetter: true,title: "Median across regions of R² on yield minus regional mean"},
Copy file name to clipboardExpand all lines: cybench/runs/viz/model_family_radar_template.html
+94-26Lines changed: 94 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ <h2>Raw metrics (median across datasets)</h2>
177
177
178
178
<divclass="card">
179
179
<h2>Performance vs training set size</h2>
180
-
<pclass="muted" id="scatter-note">Each point is one crop×country dataset for the family representative. Y-axis: model NRMSE divided by average yield NRMSE (1.0 = baseline; lower is better). X-axis: mean training rows across walk-forward splits.</p>
180
+
<pclass="muted" id="scatter-note">Each point is one crop×country dataset for the family representative. Y-axis: model NRMSE ÷ average yield NRMSE (1.0 = baseline; lower is better). X-axis: log₁₀(mean training rows); view spans the 5th–95th percentile range.</p>
conststrength=Math.abs(rho)<0.15 ? "no clear" : Math.abs(rho)<0.35 ? "weak" : "moderate";
435
+
constdir=rho<-0.05 ? "more data → lower relative NRMSE" : rho>0.05 ? "more data → higher relative NRMSE" : "flat trend";
436
+
statLine=`Spearman ρ = ${Number(rho).toFixed(2)} across datasets in range (${strength} trend; ${dir}). `;
437
+
}
438
+
scatterNote.textContent=
439
+
`Y-axis: model NRMSE ÷ average yield NRMSE (1.0 = baseline). X-axis uses log₁₀ scale over the 5th–95th percentile of training size (median ${xP50.toLocaleString()} rows). `
440
+
+`${nOut} point${nOut===1 ? "" : "s"} outside that range shown as open circles at the axis edge. `
0 commit comments