plot_2x2_perf: plot_2x2_perf

View source: R/plot_2x2_perf.R

plot_2x2_perfR Documentation

plot_2x2_perf

Description

Plot 2x2 combinations of the hyperparameters.

Usage

plot_2x2_perf(
  dfPerf,
  perf_lab = "Median relative error",
  legend_position = "bottom",
  trans = "log10"
)

Arguments

dfPerf

The performance dataframe which should have the columns : perf, ridge, input_scaling, leaking_rate, spectral_radius. Where perf is the performance metric

perf_lab

The label of the performance metric.

legend_position

Position of legend passed to ggarrange

trans

The transformation (default is "log10")

Value

A mutliple 2x2 plots.

Examples

dfPerf <-
data.frame(
  perf = runif(n = 10),
  ridge = runif(n = 10),
  input_scaling = runif(n = 10),
  leaking_rate = runif(n = 10)
)
reservoirnet::plot_2x2_perf(dfPerf = dfPerf)



reservoirnet documentation built on April 4, 2023, 5:12 p.m.