diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-14 12:46:53 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2016-03-14 12:46:53 -0700 |
commit | a48296f4fe513b63041f1a26231cfe152b69657f (patch) | |
tree | 5a92d8270743f14b222b01b9e191f299b7d03e5e /project/MimaExcludes.scala | |
parent | 23385e853e7ca54332c6098cf83da7d0723546fe (diff) | |
download | spark-a48296f4fe513b63041f1a26231cfe152b69657f.tar.gz spark-a48296f4fe513b63041f1a26231cfe152b69657f.tar.bz2 spark-a48296f4fe513b63041f1a26231cfe152b69657f.zip |
[SPARK-13686][MLLIB][STREAMING] Add a constructor parameter `reqParam` to (Streaming)LinearRegressionWithSGD
## What changes were proposed in this pull request?
`LinearRegressionWithSGD` and `StreamingLinearRegressionWithSGD` does not have `regParam` as their constructor arguments. They just depends on GradientDescent's default reqParam values.
To be consistent with other algorithms, we had better add them. The same default value is used.
## How was this patch tested?
Pass the existing unit test.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #11527 from dongjoon-hyun/SPARK-13686.
Diffstat (limited to 'project/MimaExcludes.scala')
-rw-r--r-- | project/MimaExcludes.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index faa52bf18c..a9973bc24c 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -318,6 +318,9 @@ object MimaExcludes { ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.mllib.evaluation.MultilabelMetrics.this"), ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.ml.classification.LogisticRegressionSummary.predictions"), ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.ml.classification.LogisticRegressionSummary.predictions") + ) ++ Seq( + // [SPARK-13686][MLLIB][STREAMING] Add a constructor parameter `reqParam` to (Streaming)LinearRegressionWithSGD + ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.mllib.regression.LinearRegressionWithSGD.this") ) case v if v.startsWith("1.6") => Seq( |