Builds a logistic regression model.

buildLRModel(multi_class = FALSE)

Arguments

multi_class

bool Whether to construct a model for multi-class classification

Value

A parsnip logistic_reg object

Examples

buildLRModel()
#> Logistic Regression Model Specification (classification)
#> 
#> Main Arguments:
#>   penalty = hardhat::tune()
#>   mixture = hardhat::tune()
#> 
#> Computational engine: glmnet 
#> 
buildLRModel(multi_class = TRUE)
#> Multinomial Regression Model Specification (classification)
#> 
#> Main Arguments:
#>   penalty = hardhat::tune()
#>   mixture = hardhat::tune()
#> 
#> Computational engine: glmnet 
#>