How can I use a cross validation with logistic regression in R


#1

Hello,

I would like to know how can I tune the intercepts of an existing model in R with new cross validation data?

Regards,
Debanjan


#2

You can measure the residual on the test set, type MSE. If too high or too low check your test distribution type t-test as one of them.
Hope this help.
Alain


#3

Hello Lesaffrea,

Thanks for the reply but my requirement was a bit different
suppose I have a training set x1,y1 and have a crossvalidation set x2,y2
support I train a logistic regression model as glm.fit(x1,y1…)
now i want to tune the intercepts of this model using the set x2,y2
is there anyway we can do in R?

Thanks in advance,
Regards,
Debanjan