diff options
author | Burak Yavuz <brkyvz@gmail.com> | 2015-01-30 13:59:10 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-01-30 13:59:10 -0800 |
commit | 6ee8338b377de9dc0adb5b26d9ea9e8519eb58ab (patch) | |
tree | 17f3a0992afef3197877a916f960bcf4de996c02 /docs | |
parent | 0a95085f09754c7b883f29a2babb17209c6541bd (diff) | |
download | spark-6ee8338b377de9dc0adb5b26d9ea9e8519eb58ab.tar.gz spark-6ee8338b377de9dc0adb5b26d9ea9e8519eb58ab.tar.bz2 spark-6ee8338b377de9dc0adb5b26d9ea9e8519eb58ab.zip |
[SPARK-5486] Added validate method to BlockMatrix
The `validate` method will allow users to debug their `BlockMatrix`, if operations like `add` or `multiply` return unexpected results. It checks the following properties in a `BlockMatrix`:
- Are the dimensions of the `BlockMatrix` consistent with what the user entered: (`nRows`, `nCols`)
- Are the dimensions of each `MatrixBlock` consistent with what the user entered: (`rowsPerBlock`, `colsPerBlock`)
- Are there blocks with duplicate indices
Author: Burak Yavuz <brkyvz@gmail.com>
Closes #4279 from brkyvz/SPARK-5486 and squashes the following commits:
c152a73 [Burak Yavuz] addressed code review v2
598c583 [Burak Yavuz] merged master
b55ac5c [Burak Yavuz] addressed code review v1
25f083b [Burak Yavuz] simplify implementation
0aa519a [Burak Yavuz] [SPARK-5486] Added validate method to BlockMatrix
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions