GitHub user MLnick opened a pull request:
https://github.com/apache/spark/pull/13840
[SPARK-16127][ML][PYPSARK] Audit @Since annotations related to ml.linalg
[SPARK-14615](https://issues.apache.org/jira/browse/SPARK-14615) and #12627
changed `spark.ml` pipelines to use the new `ml.linalg` classes for
`Vector`/`Matrix`. Some `@Since` annotations for public methods/vals have not
been updated accordingly to be `2.0.0`. This PR updates them.
It also reverts the updates to concrete classes for
`UnaryTransformer[Vector, ...]` I did as part of #13641 (but `scalingVec` in
`ElementwiseProduct` is not reverted).
## How was this patch tested?
Existing unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MLnick/spark SPARK-16127-ml-linalg-since
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13840.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 #13840
----
commit 59a1ad1a0d9a898846a385e5ceeeb36cd87b9d57
Author: Nick Pentreath <[email protected]>
Date: 2016-06-21T13:36:41Z
update annotation for 'clusterCenters'
commit d30a955be55bff515de45d9a2726f7de67ff3bce
Author: Nick Pentreath <[email protected]>
Date: 2016-06-21T13:36:58Z
update annotations for 'topicsMatrix'
commit 3743dbc3de2df0ce0deae612c16c43ff229b8cd3
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:15:00Z
LR coefficient
commit ef901fbefd7851610ce2fbd462db903bc6c4aa08
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:15:36Z
MLPC model weights
commit 62e97eb8abf54127a58d28bfade67a181c859b0b
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:15:54Z
LDAModel doc concentration
commit fef5d99b37711650eab918a51cef024224083d0e
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:17:07Z
NB model parameters
commit 0dec4c3274bdb7c192a1e3f007105d3312f52c8d
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:19:17Z
revert annotation update for ElementwiseProduct concrete class
commit 2b46931febd038f6c3b823df72bf5fb8af2c933f
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:22:34Z
revert annotation update for Normalizer concrete class
commit 46531167700012f50aec440dacdc1073b8a5e30c
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:23:59Z
revert annotation update for PolynomialExpansion concrete class
commit f5286ee0dd86fc6cdacf70387afd651ef19c04a9
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:34:07Z
Word2VecModel findSynonyms
commit 5a2114ac94cf3cc52155084299ca7d37db065ee8
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:36:24Z
aft regression model update annotations
commit 1c6e2952e6680e348967ab4322f72830f44304a5
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:36:36Z
isotonic regression model update annotations
commit c1fab46159503767d0d9b373b367807e9aa63208
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:43:29Z
linear regression model update annotations
commit f9e4e860d5963b73216324f969ec5c96a261fc90
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:44:34Z
py linear regression model update annotations
commit 2c819a0ce0c70e02e34681cb68a038a52b2f1468
Author: Nick Pentreath <[email protected]>
Date: 2016-06-22T08:52:58Z
update py regression and classification models
----
---
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]