diff options
author | DB Tsai <dbtsai@alpinenow.com> | 2014-11-25 01:57:34 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-25 01:57:44 -0800 |
commit | 74571991b894a3b1ec47644d850a64276252b3fb (patch) | |
tree | 941499605ac91f17415fd5a03a7050dec5bf11a8 /examples | |
parent | 1f4d1ac4bc782f888757073ee2becf59a5251774 (diff) | |
download | spark-74571991b894a3b1ec47644d850a64276252b3fb.tar.gz spark-74571991b894a3b1ec47644d850a64276252b3fb.tar.bz2 spark-74571991b894a3b1ec47644d850a64276252b3fb.zip |
[SPARK-4596][MLLib] Refactorize Normalizer to make code cleaner
In this refactoring, the performance will be slightly increased due to removing
the overhead from breeze vector. The bottleneck is still in breeze norm
which is implemented by activeIterator.
This inefficiency of breeze norm will be addressed in next PR. At least,
this PR makes the code more consistent in the codebase.
Author: DB Tsai <dbtsai@alpinenow.com>
Closes #3446 from dbtsai/normalizer and squashes the following commits:
e20a2b9 [DB Tsai] first commit
(cherry picked from commit 89f912264603741c7d980135c26102d63e11791f)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions