Skip to content
  • freeman's avatar
    31f0b071
    [SPARK-3128][MLLIB] Use streaming test suite for StreamingLR · 31f0b071
    freeman authored
    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
    31f0b071
    [SPARK-3128][MLLIB] Use streaming test suite for StreamingLR
    freeman authored
    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
Loading