tl_predict_logistic: Predict using a logistic regression model

View source: R/supervised-classification.R

tl_predict_logisticR Documentation

Predict using a logistic regression model

Description

Predict using a logistic regression model

Usage

tl_predict_logistic(model, new_data, type = "prob", ...)

Arguments

model

A tidylearn logistic model object

new_data

A data frame containing the new data

type

Type of prediction: "prob" (default), "class", "response"

...

Additional arguments

Value

Predictions


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.