Skip to main content

ml_dl.binary_pixel_metrics

ml_dl.binary_pixel_metrics(y_true, y_pred, y_prob=None)

Per-pixel binary confusion-matrix metrics.

y_prob is optional; if provided, AUC is included. The dict shape matches what benchmark_lulc_class.py writes per model, so the leaderboard aggregator can ingest it directly.