plot.model_list: Plot performance of models

Description Usage Arguments Value Examples

View source: R/model_list_generics.R

Description

Plot performance of models

Usage

1
2
3
## S3 method for class 'model_list'
plot(x, font_size = 11, point_size = 1, print = TRUE,
  ...)

Arguments

x

modellist object as returned by tune_models or machine_learn

font_size

Relative size of all fonts in plot, default = 11

point_size

Size of dots, default = 3

print

If TRUE (default) plot is printed

...

Unused

Value

Plot of model performance as a function of algorithm and hyperparameter values tuned over. Generally called for the side effect of printing a plot, but the plot is also invisibly returned. The best-performing model within each algorithm will be plotted as a triangle.

Examples

1
2
models <- machine_learn(mtcars, outcome = mpg, models = "glm")
plot(models)

healthcareai documentation built on Sept. 2, 2018, 1:03 a.m.