Displaying 1 result from an estimated 1 matches for "ytst".
Did you mean:
tst
2005 Oct 06
0
how to handle missing values in the data?
...ipt for glm function i have tried is as:
trdata<-data.frame(train,row.names=NULL)
attach(trdata)
glmmod <- glm(Class~., family= binomial(link =
"logit"),data=trdata,maxit=50)
tstdata<-data.frame(test,row.names=NULL)
attach(tstdata)
xtst <- subset(tstdata, select = -Class)
ytst <- Class
pred<-predict(glmmod,xtst)
library(mda)
confusion(pred,ytst)
can you help me to sort out the problems?
Uttam Phulwale
Tata Consultancy Services Limited
Mailto: uttam.phulwale@tcs.com
Website: http://www.tcs.com
[[alternative HTML version deleted]]