CNevd commented on a change in pull request #7720: [sparse] add ftrl optimizer
for sparse
URL: https://github.com/apache/incubator-mxnet/pull/7720#discussion_r137698595
##########
File path: src/operator/optimizer_op.cc
##########
@@ -259,5 +260,30 @@ to be 0.9 and the learning rate :math:`\eta` to be 0.0001.
.add_argument("delta", "NDArray-or-Symbol", "delta")
.add_arguments(RMSPropAlexParam::__FIELDS__());
+NNVM_REGISTER_OP(ftrl_update)
+.describe(R"code(Update function for Ftrl optimizer.
+Referenced from *Ad Click Prediction: a View from the Trenches*, available at
+http://dl.acm.org/citation.cfm?id=2488200.
+
+.. math::
+ \\eta_{t,i} = \\frac{learningrate}{\\beta+\\sqrt{\\sum_{s=1}^tg_{s,i}^t}}
Review comment:
pls check again
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services