GitHub user zero323 opened a pull request:

    https://github.com/apache/spark/pull/14263

    [SPARK-16626][PYTHON][MLLIB] Code duplication after SPARK-14906

    ## What changes were proposed in this pull request?
    
    Reduces code duplication introduced by SPARK-14906.
    
    
    ## How was this patch tested?
    
    Existing unit MLLib tests, additional unit test to ensure correct Scala UDT 
resolution.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zero323/spark post-SPARK-13944-cleaning

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14263.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14263
    
----
commit 7d6f62f448edfe75073185c522022d5b3b88e2e5
Author: zero323 <[email protected]>
Date:   2016-07-19T13:05:11Z

    Import common internal functions from linalg.ml to linalg.mllib

commit 578135170f973f16ce2f5e26fd868ae73a5634e4
Author: zero323 <[email protected]>
Date:   2016-07-19T13:07:02Z

    Extend ml.linalg.VectorUDT in mllib.linalg and remove duplicated code

commit ec3a5898ce778b71a44fca6cdda0f9c84fae46e3
Author: zero323 <[email protected]>
Date:   2016-07-19T13:09:02Z

    Extend ml.linalg.MatrixUDT in mllib.linalg and remove duplicated code

commit 2d2f26defcd16cb54bde46073199c7a5531993ed
Author: zero323 <[email protected]>
Date:   2016-07-19T13:21:34Z

    Extend ml.linalg.DenseVector in mllib.linalg and remove duplicated code

commit e38ac6900d8e51ef836f7c7efecf23b89638f9fc
Author: zero323 <[email protected]>
Date:   2016-07-19T13:32:31Z

    Extend ml.linalg.SparseVector in mllib.linalg and remove duplicated code

commit 03e69975d2efbe4e2947a3212cce29509da2a514
Author: zero323 <[email protected]>
Date:   2016-07-19T14:04:50Z

    Extend ml.linalg.DenseMatrix in mllib.linalg and remove duplicated code

commit e4c2b307990d7b1c3301bedc104ccefabd090b6e
Author: zero323 <[email protected]>
Date:   2016-07-19T14:09:47Z

    Extend ml.linalg.SparseMatrix in mllib.linalg and remove duplicated code

commit b52e89a2a8d9773ebfea5bb780d8af1d29b2b209
Author: zero323 <[email protected]>
Date:   2016-07-19T14:14:10Z

    Remove duplicated methods from mllib.linalg.Vectors

commit 41b063d790185565c7e0a4f8417349afdc2132ed
Author: zero323 <[email protected]>
Date:   2016-07-19T14:15:44Z

    Extend ml.linalg.Vector in mllib and remove obsolete methods

commit e3ffccc486ad3fbc187d04cb23c6d0c9b188a6df
Author: zero323 <[email protected]>
Date:   2016-07-19T14:32:18Z

    Add tests for scalaUDT in mllib.linalg.Vector

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to