diff options
author | freeman <the.freeman.lab@gmail.com> | 2014-08-19 13:28:57 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2014-08-19 13:29:09 -0700 |
commit | 04a32086212452d3488e12dd64ffa18af0243345 (patch) | |
tree | e30ed94ec55d09982b88b0e4dc8bb94521800990 /tools | |
parent | 5d895ad5668823a52b143ac39d9ffa264fc2a7b2 (diff) | |
download | spark-04a32086212452d3488e12dd64ffa18af0243345.tar.gz spark-04a32086212452d3488e12dd64ffa18af0243345.tar.bz2 spark-04a32086212452d3488e12dd64ffa18af0243345.zip |
[SPARK-3128][MLLIB] Use streaming test suite for StreamingLR
Refactored tests for streaming linear regression to use existing streaming test utilities. Summary of changes:
- Made ``mllib`` depend on tests from ``streaming``
- Rewrote accuracy and convergence tests to use ``setupStreams`` and ``runStreams``
- Added new test for the accuracy of predictions generated by ``predictOnValue``
These tests should run faster, be easier to extend/maintain, and provide a reference for new tests.
mengxr tdas
Author: freeman <the.freeman.lab@gmail.com>
Closes #2037 from freeman-lab/streamingLR-predict-tests and squashes the following commits:
e851ca7 [freeman] Fixed long lines
50eb0bf [freeman] Refactored tests to use streaming test tools
32c43c2 [freeman] Added test for prediction
(cherry picked from commit 31f0b071efd0b63eb9d6a6a131e5c4fa28237583)
Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions