plot_importance: Plot Importance

Description Usage Arguments

View source: R/importance.R

Description

Plot Importance

Usage

1
plot_importance(object, data, target, metric, sample_size = 100)

Arguments

object

An object of class model_fit.

data

A rectangular data object, such as a data frame.

target

The target variable.

metric

A metric funtion from the 'yardstick' package.

sample_size

The sample size used to estimate mean importance.


mt-edwards/xrayspecs documentation built on Jan. 23, 2020, 1:25 p.m.