best_subset_classifier {autoMrP}R Documentation

Best subset classifier

Description

best_subset_classifier applies best subset classification to a data set.

Usage

best_subset_classifier(
  model,
  data.train,
  model.family,
  model.optimizer,
  n.iter,
  y,
  verbose = c(TRUE, FALSE)
)

Arguments

model

Multilevel model. A model formula describing the multilevel model to be estimated on the basis of the provided training data.

data.train

Training data. A data.frame containing the training data used to train the model.

model.family

Model family. A variable indicating the model family to be used by glmer. Defaults to binomial(link = "probit").

model.optimizer

Optimization method. A character-valued scalar describing the optimization method to be used by glmer. Defaults to "bobyqa".

n.iter

Iterations. A integer-valued scalar specifying the maximum number of function evaluations tried by the optimization method.

y

Outcome variable. A character vector containing the column names of the outcome variable. A character scalar containing the column name of the outcome variable in survey.

verbose

Verbose output. A logical vector indicating whether or not verbose output should be printed.

Value

The multilevel model. An glmer object.


[Package autoMrP version 1.0.6 Index]