> how can I fix it so that the LARS predicts values between 0 and 1 ?
I don't know, but you can use glmnet to accomplish the same thing.
--
Max
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posti
Hello
I'm trying to use LARS on a glm:
log.1 = glm(Train.Data$TL~(.),Train.Data,family = binomial)
LARS.1 = lars(model.matrix(log.1),Train.Data$TL,type = "lar",max.steps =
ncol(model.matrix(log.1))-1)
self.fit =
predict.lars(LARS.1,model.matrix(log.1),type="fit",mode="step")$fit
2 matches
Mail list logo