Skip to contents

Builds a model object based on model that is in the sparse (short) format.

Usage

sparseVecToModel(X, y, v, clf, eval.all = FALSE, obj = NULL)

Arguments

X:

dataset

y:

labels

v:

A vector of indexes (example v=c(1,11))

clf:

classifier information

eval.all:

Should the model be evaluated (default:FALSE)

obj:

an object model to add to the model (default:NULL)

Value

an model object