Skip to contents

Plots the session timeline of a Supervised or SupervisedRes object using rtemis.draw::draw_gantt().

Usage

plot_session(x, ...)

Arguments

x

rtemis::Supervised or rtemis::SupervisedRes object.

...

Additional arguments passed to rtemis.draw::draw_gantt().

Value

htmlwidget: Widget object.

Details

Dispatches on ordinary and resampled supervised results.

Author

EDG

Examples

if (FALSE) { # interactive()
# GLM keeps the example dependency-free: rtemis fits it with stats::glm().
  mod <- train(
    mtcars[, c("wt", "hp", "mpg")],
    hyperparameters = setup_GLM(),
    verbosity = 0L
  )
  plot_session(mod)
}