[ 
https://issues.apache.org/jira/browse/SPARK-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14540558#comment-14540558
 ] 

Glenn Weidner commented on SPARK-7425:
--------------------------------------

Working on adding support at the second TODO in 
ml.Predictor.validateAndTransformSchema for the following spark.sql.types:
DecimalType, FloatType, IntegerType, LongType, ShortType.

> 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: Improvement
>          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]

Reply via email to