Skip to contents

This function draws a summary plot for the result.

Usage

AUTO_VI$summary_plot(type = "auto", ...)

Arguments

type

Character. Either "auto", "density" or "rank". Option "auto" will use the Boolean flag self$check_result$lineup_check to determine the correct option. See also AUTO_VI$summary_density_plot() and AUTO_VI$summary_rank_plot().

...

Arguments passed to AUTO_VI$summary_density_plot() or AUTO_VI$summary_rank_plot().

Value

A ggplot.

Examples

keras_model <- try(get_keras_model("vss_phn_32"))
if (!inherits(keras_model, "try-error")) {
  myvi <- auto_vi(lm(dist ~ speed, data = cars), keras_model)

  myvi$lineup_check()
  myvi$summary_plot()
}
#>  Generate null data.
#>  Generate null plots.
#>  Compute auxilary inputs.
#>  Predict visual signal strength for 19 images.
#>  Predict visual signal strength for 1 image.