Re: Gradient Descent with MLBase

2014-06-08 Thread Aslan Bekirov
Hi DB, Thanks a lot. Appreciated. BR, Aslan On Sun, Jun 8, 2014 at 2:52 AM, DB Tsai wrote: > Hi Aslan, > > You can check out the unittest code of GradientDescent.runMiniBatchSGD > > > https://github.com/apache/spark/blob/master/mllib/src/test/scala/org/apache/spark/mllib/optimization/Gradient

Re: Gradient Descent with MLBase

2014-06-07 Thread DB Tsai
Hi Aslan, You can check out the unittest code of GradientDescent.runMiniBatchSGD https://github.com/apache/spark/blob/master/mllib/src/test/scala/org/apache/spark/mllib/optimization/GradientDescentSuite.scala Sincerely, DB Tsai --- My Blog: h

Gradient Descent with MLBase

2014-06-07 Thread Aslan Bekirov
Hi All, I have to create a model using SGD in mlbase. I examined a bit mlbase and run some samples of classification , collaborative filtering etc.. But I could not run Gradient descent. I have to run "val model = GradientDescent.runMiniBatchSGD(params)" of course before params must be compute