GitHub user jkbradley opened a pull request:
https://github.com/apache/spark/pull/13314
[SPARK-15457][MLLIB][ML] Eliminate some warnings from MLlib about
deprecations
## What changes were proposed in this pull request?
Several classes and methods have been deprecated and are creating lots of
build warnings in branch-2.0. This issue is to identify and fix those items:
* WithSGD classes: Change to make class not deprecated, object deprecated,
and public class constructor deprecated. Any public use will require a
deprecated API. We need to keep a non-deprecated private API since we cannot
eliminate certain uses: Python API, streaming algs, and examples.
* Use in PythonMLlibAPI: Change to using private constructors
* Streaming algs: No warnings after we un-deprecate the classes
* Examples: Deprecate or change ones which use deprecated APIs
* MulticlassMetrics fields (precision, etc.)
* LinearRegressionSummary.model field
## How was this patch tested?
Existing tests. Checked for warnings manually.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jkbradley/spark warning-cleanups
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13314.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 #13314
----
commit 83d59b8afaf78188cce22a81b593ad0903f562dd
Author: Sean Owen <[email protected]>
Date: 2016-05-21T19:34:46Z
Use MulticlassMetrics.accuracy instead of deprecated precision, recall,
fMeasure
commit cae67d69167ac61f5550eb1321e3b98bc40c911d
Author: Joseph K. Bradley <[email protected]>
Date: 2016-05-26T00:36:29Z
Fixed many MLlib warnings, but not all of those in test suites
----
---
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]