Convenient wrapper function for plot.yolo_train(). Accepts either an existing
yolo_train S3 object, a model name string (e.g. "capsulas_det"), or a direct path
to a results folder.
Arguments
- x
An object of class
yolo_train, or a character string specifying a model name or results directory.- ...
Arguments passed directly to
plot.yolo_train()(e.g.which,native,bg).
Details
This function simplifies diagnostic inspections by allowing users to directly pass model names
(e.g. yolo_plot("my_model")) without first having to call yolo_results().
See plot.yolo_train() for full mathematical formulas, statistical definitions of IoU, Confusion Matrix,
Precision, Recall, F1-Score, PR Curve, mAP50, and mAP50-95, and plot interpretation guidelines.
Examples
if (FALSE) { # interactive()
library(pliman)
# Plot full 2x2 vector diagnostic dashboard directly by model name
yolo_plot("capsulas_det")
# Plot individual evaluation curves in high-resolution vector format:
yolo_plot("capsulas_det", which = "confusion_matrix")
yolo_plot("capsulas_det", which = "confusion_matrix_norm")
yolo_plot("capsulas_det", which = "pr_curve")
yolo_plot("capsulas_det", which = "f1_curve")
yolo_plot("capsulas_det", which = "metrics")
}
