Skip to contents

Convenience wrapper: applies annotate_wrb_from_usda to attach derived WRB labels, runs classify_wrb2022 on each pedon, and returns top-1 accuracy + per-RSG recall.

Usage

benchmark_wrb_vs_usda(pedons, verbose = TRUE)

Arguments

pedons

List of PedonRecord objects with site$reference_usda populated (typically from load_kssl_pedons_gpkg).

verbose

Print progress.

Value

A list with accuracy, n_compared, confusion, per_class_recall.