GitHub user dahlem opened a pull request:
https://github.com/apache/spark/pull/9296
[SPARK-11343] [ML] Allow float and double prediction/label columns in
RegressionEvaluator
@mengxr, @felixcheung
This pull request just relaxes the type of the prediction/label columns to
be float and double. Internally, these columns are casted to double. The other
evaluators might need to be changed also.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dahlem/spark
ddahlem_regression_evaluator_double_predictions_27102015
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9296.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 #9296
----
commit ce929c7cd2dd4a7c9d084dae58e8f9020a9bc560
Author: Dominik Dahlem <[email protected]>
Date: 2015-10-27T02:02:20Z
allow double predictions/labels and cast appropriately
----
---
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]