RE: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-12-01 Thread Bui, Tri
ted values, which is the lp.features. Thanks Tri From: Yanbo Liang [mailto:yanboha...@gmail.com] Sent: Thursday, November 27, 2014 12:22 AM To: Bui, Tri Cc: user@spark.apache.org Subject: Re: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD Hi Tri, Maybe my latest responds

Re: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-26 Thread Yanbo Liang
pile) Compilation failed > > > > Thanks > > Tri > > > > *From:* Yanbo Liang [mailto:yanboha...@gmail.com] > *Sent:* Tuesday, November 25, 2014 8:57 PM > *To:* Bui, Tri > *Cc:* user@spark.apache.org > *Subject:* Re: Inaccurate Estimate of weights model from > St

RE: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-26 Thread Bui, Tri
user@spark.apache.org> Subject: Re: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD The case run correctly in my environment. 14/11/25 17:48:20 INFO regression.StreamingLinearRegressionWithSGD: Model updated at time 141690890 ms 14/11/25 17:48:20 INFO regression

RE: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-26 Thread Bui, Tri
t: Tuesday, November 25, 2014 9:52 AM To: Yanbo Liang Cc: user@spark.apache.org Subject: RE: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD Thanks Liang! It was my bad, I fat finger one of the data point, correct it and the result match with yours. I am still not able t

Re: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-25 Thread Yanbo Liang
amingLinearRegressionWithSGD().setInitialWeights(Vectors.zeros(args(3).toInt)) > > .setIntercept(true) > > > > But still get compilation error. > > > > Thanks > > Tri > > > > > > > > > > *From:* Yanbo Liang [mailto:yanbo

RE: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-25 Thread Bui, Tri
().setInitialWeights(Vectors.zeros(args(3).toInt)) .setIntercept(true) But still get compilation error. Thanks Tri From: Yanbo Liang [mailto:yanboha...@gmail.com] Sent: Tuesday, November 25, 2014 4:08 AM To: Bui, Tri Cc: user@spark.apache.org Subject: Re: Inaccurate Estimate of weights model from

Re: Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-25 Thread Yanbo Liang
The case run correctly in my environment. 14/11/25 17:48:20 INFO regression.StreamingLinearRegressionWithSGD: Model updated at time 141690890 ms 14/11/25 17:48:20 INFO regression.StreamingLinearRegressionWithSGD: Current model: weights, [0.8588] Can you provide more detail informa

Inaccurate Estimate of weights model from StreamingLinearRegressionWithSGD

2014-11-24 Thread Bui, Tri
Hi, I am getting incorrect weights model from StreamingLinearRegressionwith SGD. One feature Input data is: (1,[1]) (2,[2]) ... . (20,[20]) The result from the Current model: weights is [-4.432]which is not correct. Also, how do I turn on the intercept value for the StreamingLinearRegressi