[FLINK-3330] [ml] Fix SparseVector support in GradientDescent
The GradientDescent implementation did not work with sparse input data because it requires the gradient to be dense. This patch makes sure that the gradient sum is always dense. This closes #1587.
Showing
想要评论请 注册 或 登录