diff options
author | Xiangrui Meng <meng@databricks.com> | 2016-03-16 14:19:54 -0700 |
---|---|---|
committer | DB Tsai <dbt@netflix.com> | 2016-03-16 14:19:54 -0700 |
commit | 85c42fda99973a0c35c743816a06ce9117bb1aad (patch) | |
tree | ded163492ceb349b435d611135ada7d7aba7f43e /project | |
parent | 6fc2b6541fd5ab73b289af5f7296fc602b5b4dce (diff) | |
download | spark-85c42fda99973a0c35c743816a06ce9117bb1aad.tar.gz spark-85c42fda99973a0c35c743816a06ce9117bb1aad.tar.bz2 spark-85c42fda99973a0c35c743816a06ce9117bb1aad.zip |
[SPARK-13927][MLLIB] add row/column iterator to local matrices
## What changes were proposed in this pull request?
Add row/column iterator to local matrices to simplify tasks like BlockMatrix => RowMatrix conversion. It handles dense and sparse matrices properly.
## How was this patch tested?
Unit tests on sparse and dense matrix.
cc: dbtsai
Author: Xiangrui Meng <meng@databricks.com>
Closes #11757 from mengxr/SPARK-13927.
Diffstat (limited to 'project')
-rw-r--r-- | project/MimaExcludes.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index 985eb98bc3..59c7e7db2e 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -531,6 +531,10 @@ object MimaExcludes { ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.scheduler.SparkListener.onOtherEvent"), ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.sql.sources.CreatableRelationProvider.createRelation"), ProblemFilters.exclude[ReversedMissingMethodProblem]("org.apache.spark.sql.sources.InsertableRelation.insert") + ) ++ Seq( + // SPARK-13927: add row/column iterator to local matrices + ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.mllib.linalg.Matrix.rowIter"), + ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.mllib.linalg.Matrix.colIter") ) case v if v.startsWith("1.6") => Seq( |