Re: Spark LogisticRegression returns scaled coefficients

2015-11-18 Thread robert_dodier
njoshi wrote > I am testing the LogisticRegression performance on a synthetically > generated data. Hmm, seems like a good idea. Can you give the code for generating the training data? best, Robert Dodier -- View this message in context:

Re: Spark LogisticRegression returns scaled coefficients

2015-11-17 Thread DB Tsai
How do you compute the probability given the weights? Also, given a probability, you need to sample positive and negative based on the probability, and how do you do this? I'm pretty sure that the LoR will give you correct weights, and please see the generateMultinomialLogisticInput in

Re: Spark LogisticRegression returns scaled coefficients

2015-11-17 Thread Nikhil Joshi
Hi, Wonderful. I was sampling the output, but with a bug. Your comment brought the realization :). I was indeed victimized by the complete separability issue :). Thanks a lot. with regards, Nikhil On Tue, Nov 17, 2015 at 5:26 PM, DB Tsai wrote: > How do you compute the