flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thvasilo <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2157] [ml] [WIP] Create evaluation fram...
Date Wed, 08 Jul 2015 12:26:21 GMT
Github user thvasilo commented on a diff in the pull request:

    https://github.com/apache/flink/pull/871#discussion_r34141423
  
    --- Diff: flink-staging/flink-ml/src/test/scala/org/apache/flink/ml/regression/MultipleLinearRegressionITSuite.scala
---
    @@ -132,4 +132,28 @@ class MultipleLinearRegressionITSuite
     
         absoluteErrorSum should be < 50.0
       }
    +
    +  it should "calculate its score correctly" in {
    +    val env = ExecutionEnvironment.getExecutionEnvironment
    +    val expectedR2 = 0.29310994289260195
    +
    +    val mlr = MultipleLinearRegression()
    +
    +    import RegressionData._
    +
    +    val parameters = ParameterMap()
    +
    +    parameters.add(MultipleLinearRegression.Stepsize, 10.0)
    +    parameters.add(MultipleLinearRegression.Iterations, 100)
    +//    parameters.add(MultipleLinearRegression.ConvergenceThreshold, 0.0001)
    --- End diff --
    
    This was a leftover from other testing, I will change it.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message