[
https://issues.apache.org/jira/browse/SPARK-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985884#comment-14985884
]
Stefano Baghino edited comment on SPARK-7425 at 11/2/15 7:55 PM:
-----------------------------------------------------------------
I'm checking the code and I'm not sure this solution would work: changing that
line would break the compatibility with many calls to that function that use
VectorUDT for the comparison. Do you agree?
was (Author: stefanobaghino):
I'm checking the code and I'm not sure this solution would work: changing that
line would break the compatibility with many calls to that function that user
VectorUDT for the comparison. Do you agree?
> spark.ml Predictor should support other numeric types for label
> ---------------------------------------------------------------
>
> Key: SPARK-7425
> URL: https://issues.apache.org/jira/browse/SPARK-7425
> Project: Spark
> Issue Type: Sub-task
> Components: ML
> Reporter: Joseph K. Bradley
> Priority: Minor
> Labels: starter
>
> Currently, the Predictor abstraction expects the input labelCol type to be
> DoubleType, but we should support other numeric types. This will involve
> updating the PredictorParams.validateAndTransformSchema method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]