flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1992) Add convergence criterion to SGD optimizer
Date Thu, 21 May 2015 08:18:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553855#comment-14553855
] 

ASF GitHub Bot commented on FLINK-1992:
---------------------------------------

Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/692#discussion_r30781214
  
    --- Diff: flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/optimization/Solver.scala
---
    @@ -118,6 +151,44 @@ abstract class IterativeSolver extends Solver {
         parameters.add(Stepsize, stepsize)
         this
       }
    +
    +  def setConvergenceThreshold(convergenceThreshold: Double): IterativeSolver = {
    +    parameters.add(ConvergenceThreshold, convergenceThreshold)
    +    this
    +  }
    +
    +  /** Mapping function that calculates the weight gradients from the data.
    +    *
    +    */
    +  protected class GradientCalculation extends
    --- End diff --
    
    extends in next line with 4 spaces indentation if line break is necessary here.


> Add convergence criterion to SGD optimizer
> ------------------------------------------
>
>                 Key: FLINK-1992
>                 URL: https://issues.apache.org/jira/browse/FLINK-1992
>             Project: Flink
>          Issue Type: Improvement
>          Components: Machine Learning Library
>            Reporter: Till Rohrmann
>            Assignee: Theodore Vasiloudis
>            Priority: Minor
>              Labels: ML
>             Fix For: 0.9
>
>
> Currently, Flink's SGD optimizer runs for a fixed number of iterations. It would be good
to support a dynamic convergence criterion, too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message