diff options
author | Yuhao Yang <hhbyyh@gmail.com> | 2015-12-08 11:46:26 -0800 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-12-08 11:46:26 -0800 |
commit | 5cb4695051e3dac847b1ea14d62e54dcf672c31c (patch) | |
tree | e75ce10784a244e720049652896a70ca0a99c306 /docs/ml-features.md | |
parent | 4bcb894948c1b7294d84e2bf58abb1d79e6759c6 (diff) | |
download | spark-5cb4695051e3dac847b1ea14d62e54dcf672c31c.tar.gz spark-5cb4695051e3dac847b1ea14d62e54dcf672c31c.tar.bz2 spark-5cb4695051e3dac847b1ea14d62e54dcf672c31c.zip |
[SPARK-11605][MLLIB] ML 1.6 QA: API: Java compatibility, docs
jira: https://issues.apache.org/jira/browse/SPARK-11605
Check Java compatibility for MLlib for this release.
fix:
1. `StreamingTest.registerStream` needs java friendly interface.
2. `GradientBoostedTreesModel.computeInitialPredictionAndError` and `GradientBoostedTreesModel.updatePredictionError` has java compatibility issue. Mark them as `developerAPI`.
TBD:
[updated] no fix for now per discussion.
`org.apache.spark.mllib.classification.LogisticRegressionModel`
`public scala.Option<java.lang.Object> getThreshold();` has wrong return type for Java invocation.
`SVMModel` has the similar issue.
Yet adding a `scala.Option<java.util.Double> getThreshold()` would result in an overloading error due to the same function signature. And adding a new function with different name seems to be not necessary.
cc jkbradley feynmanliang
Author: Yuhao Yang <hhbyyh@gmail.com>
Closes #10102 from hhbyyh/javaAPI.
Diffstat (limited to 'docs/ml-features.md')
0 files changed, 0 insertions, 0 deletions