Hi DB,

Thanks a lot.
Appreciated.

BR,
Aslan


On Sun, Jun 8, 2014 at 2:52 AM, DB Tsai <dbt...@stanford.edu> 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/GradientDescentSuite.scala
>
>
> Sincerely,
>
> DB Tsai
> -------------------------------------------------------
> My Blog: https://www.dbtsai.com
> LinkedIn: https://www.linkedin.com/in/dbtsai
>
>
> On Sat, Jun 7, 2014 at 6:24 AM, Aslan Bekirov <aslanbeki...@gmail.com>
> wrote:
>
>> 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 computed. I tried but could not managed
>> to give parameters correctly.
>>
>> Can anyone explain parameters a bit and give an example of code?
>>
>> BR,
>> Aslan
>>
>>
>

Reply via email to