Github user sachingoel0101 commented on a diff in the pull request:
https://github.com/apache/flink/pull/918#discussion_r34788837
--- Diff:
flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/classification/SVM.scala
---
@@ -382,7 +402,11 @@ object SVM{
// calculate the new weight vector by adding the weight vector
updates to the weight
// vector value
- weights.union(weightedDeltaWs).reduce { _ + _ }
+ val newWeights = weights.union(weightedDeltaWs).reduce { _ + _
}
+ if(convergenceDefined){
+ converger.get.construct(input,weights,newWeights)
--- End diff --
@tillrohrmann , could you take a look here? I am unable to work out the
problem here.
---
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.
---