Learn R Programming

tidylearn (version 0.1.0)

tl_predict_lasso: Predict using a Lasso regression model

Description

Predict using a Lasso regression model

Usage

tl_predict_lasso(model, new_data, type = "response", ...)

Value

Predictions

Arguments

model

A tidylearn Lasso model object

new_data

A data frame containing the new data

type

Type of prediction

...

Additional arguments