diff options
Diffstat (limited to 'mllib')
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala b/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala index cab98b33a1..e476b53450 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala @@ -41,7 +41,7 @@ class SVD { /** * Compute SVD using the current set parameters */ - def compute(matrix: SparseMatrix) : SVDecomposedMatrix = { + def compute(matrix: SparseMatrix) : MatrixSVD = { SVD.sparseSVD(matrix, k) } } @@ -84,7 +84,7 @@ object SVD { def sparseSVD( matrix: SparseMatrix, k: Int) - : SVDecomposedMatrix = + : MatrixSVD = { val data = matrix.data val m = matrix.m |