Skip to contents

For each model in the list of models it will convert to dense format and convert to a data.frame

Usage

listOfModelsToDenseCoefMatrix(
  clf,
  X,
  y,
  list.models,
  rm.empty = TRUE,
  order.row = TRUE
)

Arguments

clf:

the classifier object

X:

the dataset

y:

the class vector

list.model:

a list of model objects

rm.empty:

remove null models in the list if any (default:TRUE)

order.row:

order rows by occurence (default:TRUE)

Value

an data frame with model coefficients in rows