Hi Sonny Vic,

how about you send a reproducible code?

cheers
milton

On Mon, Jun 8, 2009 at 11:25 AM, sunny vic <vss.0116@gmail.com> wrote:

> 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]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]


