Hi all
 I am using the caret package and having difficulty in obtaining the results
using regression, I used the glmnet to model and trying to get the
coefficients and the model parameters  I am trying to use the
extractPrediction to obtain a confusion matrix and it seems to be giving me
errors.


x<-read.csv("x.csv", header=TRUE);
y<-read.csv("y.csv", header=TRUE);
tc=trainControl(method="cv", number=10 );
glmmat<-train(x,y,method="glmnet", trControl=tc);
extractPrediction(list(glmmat,testX=x,testY = y));

any help would be great
thanks
vss

	[[alternative HTML version deleted]]


