geoprior.scripts.plot_transfer#
Plot cross-city transferability of GeoPriorSubsNet.
Uses xfer_results.csv produced by nat.com/xfer_matrix.py to show:
cross-city performance versus calibration mode, including overall MAE (mm) and overall R²
the 80% interval coverage-sharpness tradeoff by direction, with
sharpness80(mm) on the x-axis andcoverage80(fraction) on the y-axis
Panels summarise: - Nansha → Zhongshan (A_to_B) - Zhongshan → Nansha (B_to_A)
Example
python -m scripts.plot_transfer --src results/xfer/nansha__zhongshan --split val
Functions
|
|
|
|
|
|
|
Classes
|
- class geoprior.scripts.plot_transfer.TextFlags(show_legend: 'bool', show_labels: 'bool', show_ticklabels: 'bool', show_title: 'bool', show_panel_titles: 'bool', title: 'str | None')[source]#
Bases:
object- Parameters:
- geoprior.scripts.plot_transfer.render(df, *, split, strategies, calib_modes, rescale_mode, baseline_rescale, reduce, cov_target, out, text, metric_top='mae', metric_bottom='rmse')[source]#