Re: [R] Questions on implementing logistic regression

2013-03-05 Thread Bert Gunter
Perhaps I should have added and FWIW, R, like essentially all statistical software, has "logistic regression" already built in, if I understand what you mean by the term (which I may not), via glm's. -- Bert On Tue, Mar 5, 2013 at 1:36 PM, Ivan Li wrote: > Hi there, > > I am trying to write a to

Re: [R] Questions on implementing logistic regression

2013-03-05 Thread Bert Gunter
I may be missing something, but what does this have to do specifically with R? I believe this is OT here and you need to post elsewhere, e.g. perhaps on stats.stackexchange.com. -- Bert On Tue, Mar 5, 2013 at 1:36 PM, Ivan Li wrote: > Hi there, > > I am trying to write a tool which involves impl

[R] Questions on implementing logistic regression

2013-03-05 Thread Ivan Li
Hi there, I am trying to write a tool which involves implementing logistic regression. With the batch gradient descent method, the convergence is guaranteed as it is a convex problem. However, I find that with the stochastic gradient decent method, it typically converges to some random points (i.e