GitHub user BenFradet opened a pull request:
https://github.com/apache/spark/pull/12500
[SPARK-13962][ML] spark.ml Evaluators should support other numeric types
for label
## What changes were proposed in this pull request?
Made BinaryClassificationEvaluator, MulticlassClassificationEvaluator and
RegressionEvaluator accept all numeric types for label
## How was this patch tested?
Unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BenFradet/spark SPARK-13962
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12500.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 #12500
----
commit 4723508eb4e4390c004523c5b175644728920851
Author: BenFradet <[email protected]>
Date: 2016-04-19T15:01:49Z
added features column name parameter to TreeTests.setMetadata
commit f8fe189fe17c3badc9261825a49f0b03890afaca
Author: BenFradet <[email protected]>
Date: 2016-04-19T15:02:11Z
binary classification evaluator now accepts all numeric types as label
commit 963805c01cc3c2077babd7fe556c376acc6f394e
Author: BenFradet <[email protected]>
Date: 2016-04-19T15:41:43Z
added method to check that an evaluator accepts all numeric types as label
commit 0dd9ef6532ad46c6d05db838acba7e59df9bf425
Author: BenFradet <[email protected]>
Date: 2016-04-19T16:22:55Z
multiclass classification evaluator now accepts all numeric types as label
commit 24e45e3ad6258fc720a1ae057e305f72445d81e0
Author: BenFradet <[email protected]>
Date: 2016-04-19T16:32:46Z
regression evaluator now accepts all numeric types as label
----
---
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]