Github user hunggpham commented on the pull request:
https://github.com/apache/spark/pull/1290#issuecomment-52107969
I finally see the backprop codes in the 2 for loops inside
LeastSquaresGradientANN
that calculates the gradient which is then used to update the weights by
ANNUpdater.
Thanks, Bert.
On Tue, Aug 12, 2014 at 8:54 PM, Bert Greevenbosch <[email protected]
> wrote:
> The ANN uses the existent GradientDescent from mllib.optimization for back
> propagation. It uses the gradient from the new LeastSquaresGradientANN
> class, and updates using the new ANNUpdater class.
>
> This line in ANNUpdater.compute is the backbone of the back propagation:
>
> brzAxpy(-thisIterStepSize, gradient.toBreeze, brzWeights)
>
> â
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/spark/pull/1290#issuecomment-51997639>.
>
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]