Burak Yavuz created SPARK-5486:
----------------------------------
Summary: Add validate function for BlockMatrix
Key: SPARK-5486
URL: https://issues.apache.org/jira/browse/SPARK-5486
Project: Spark
Issue Type: New Feature
Components: MLlib
Reporter: Burak Yavuz
Priority: Critical
BlockMatrix needs a validate method to make debugging easy for users.
It will be an expensive method to perform, but it would be useful for users to
know why `multiply` or `add` didn't work properly.
Things to validate:
- MatrixBlocks that are not on the edges should have the dimensions
`rowsPerBlock` and `colsPerBlock`.
- There should be at most one block for each index
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]