listOfSparseVecToListOfModels | R Documentation |
Converts an list of "SparseVec" objects onto a list of predomics objects
listOfSparseVecToListOfModels(X, y, clf, v, lobj = NULL, eval.all = FALSE)
X: |
dataset |
y: |
labels |
clf: |
classifier |
v: |
list of vectors of coeffs. For example, v=list( c(0.0,1.0,0.0,-1.0) , c(1.0,1.0,0.0,0.0) , c(0.0,1.0,1.0,-1.0) ) |
lobj: |
a list of objects to add as elements in the model objects if not null (default:NULL) |
eval.all: |
evaluate population (default:FALSE) |
an model object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.