diff options
author | Holden Karau <holden@us.ibm.com> | 2016-02-09 08:47:28 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-02-09 08:47:28 +0000 |
commit | ce83fe9756582e73ada21c3741d15aa9bbf385ed (patch) | |
tree | f218e7da47b4b2fb95307e50f4eac00f02a2caa4 /docs | |
parent | 159198eff67ee9ead08fba60a585494ea1575147 (diff) | |
download | spark-ce83fe9756582e73ada21c3741d15aa9bbf385ed.tar.gz spark-ce83fe9756582e73ada21c3741d15aa9bbf385ed.tar.bz2 spark-ce83fe9756582e73ada21c3741d15aa9bbf385ed.zip |
[SPARK-13201][SPARK-13200] Deprecation warning cleanups: KMeans & MFDataGenerator
KMeans:
Make a private non-deprecated version of setRuns API so that we can call it from the PythonAPI without deprecation warnings in our own build. Also use it internally when being called from train. Add a logWarning for non-1 values
MFDataGenerator:
Apparently we are calling round on an integer which now in Scala 2.11 results in a warning (it didn't make any sense before either). Figure out if this is a mistake we can just remove or if we got the types wrong somewhere.
I put these two together since they are both deprecation fixes in MLlib and pretty small, but I can split them up if we would prefer it that way.
Author: Holden Karau <holden@us.ibm.com>
Closes #11112 from holdenk/SPARK-13201-non-deprecated-setRuns-SPARK-mathround-integer.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions