plot.model_list: Plot performance of models

View source: R/model_list_generics.R

plot.model_listR Documentation

Plot performance of models

Description

Plot performance of models

Usage

## 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

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

healthcareai documentation built on Sept. 5, 2022, 5:12 p.m.