S3 plot method for pigauto_fit objects, using base R
graphics. Three plot types are available: training history,
calibrated gate values, and conformal prediction scores.
Usage
# S3 method for class 'pigauto_fit'
plot(x, type = "history", ...)Arguments
- x
An object of class
"pigauto_fit".- type
Character.
"history"(default): 2x2 panel of training loss components (reconstruction, shrinkage, gate regularisation) and validation loss over epochs."gates": bar plot of calibrated gate values per trait, coloured by trait type (green = continuous, blue = count, orange = ordinal, red = binary, purple = categorical)."conformal": bar plot of conformal prediction scores per trait with a reference line at the median score.- ...
Additional arguments passed to base plotting functions.
Examples
if (FALSE) { # \dontrun{
fit <- fit_pigauto(data, tree)
plot(fit)
plot(fit, type = "history")
plot(fit, type = "gates")
plot(fit, type = "conformal")
} # }
