Skip to contents

Builds a model object based on model that is in the dense (long) format.

Usage

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

Arguments

X:

dataset

y:

labels

v:

A vector of coeffs (example v=c(0.0,1.0,0.0,-1.0))

clf:

classifier information

eval.all:

If TRUE the fitting of the function and intercept will be computed

obj:

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

Value

an model object