aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorHolden Karau <holden@pigscanfly.ca>2015-06-23 12:42:17 -0700
committerDB Tsai <dbt@netflix.com>2015-06-23 12:42:17 -0700
commit2b1111dd0b8deb9ad8d43fec792e60e3d0c4de75 (patch)
treef0bf6fad08cdd7447a3ecf1b6fb8368e617cb520 /project
parent6f4cadf5ee81467d077febc53d36571dd232295d (diff)
downloadspark-2b1111dd0b8deb9ad8d43fec792e60e3d0c4de75.tar.gz
spark-2b1111dd0b8deb9ad8d43fec792e60e3d0c4de75.tar.bz2
spark-2b1111dd0b8deb9ad8d43fec792e60e3d0c4de75.zip
[SPARK-7888] Be able to disable intercept in linear regression in ml package
Author: Holden Karau <holden@pigscanfly.ca> Closes #6927 from holdenk/SPARK-7888-Be-able-to-disable-intercept-in-Linear-Regression-in-ML-package and squashes the following commits: 0ad384c [Holden Karau] Add MiMa excludes 4016fac [Holden Karau] Switch to wild card import, remove extra blank lines ae5baa8 [Holden Karau] CR feedback, move the fitIntercept down rather than changing ymean and etc above f34971c [Holden Karau] Fix some more long lines 319bd3f [Holden Karau] Fix long lines 3bb9ee1 [Holden Karau] Update the regression suite tests 7015b9f [Holden Karau] Our code performs the same with R, except we need more than one data point but that seems reasonable 0b0c8c0 [Holden Karau] fix the issue with the sample R code e2140ba [Holden Karau] Add a test, it fails! 5e84a0b [Holden Karau] Write out thoughts and use the correct trait 91ffc0a [Holden Karau] more murh 006246c [Holden Karau] murp?
Diffstat (limited to 'project')
-rw-r--r--project/MimaExcludes.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 7a748fb5e3..f678c69a6d 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -53,6 +53,11 @@ object MimaExcludes {
// Removing a testing method from a private class
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.streaming.kafka.KafkaTestUtils.waitUntilLeaderOffset"),
+ // While private MiMa is still not happy about the changes,
+ ProblemFilters.exclude[MissingMethodProblem](
+ "org.apache.spark.ml.regression.LeastSquaresAggregator.this"),
+ ProblemFilters.exclude[MissingMethodProblem](
+ "org.apache.spark.ml.regression.LeastSquaresCostFun.this"),
// SQL execution is considered private.
excludePackage("org.apache.spark.sql.execution"),
// NanoTime and CatalystTimestampConverter is only used inside catalyst,