[ https://issues.apache.org/jira/browse/SPARK-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985884#comment-14985884 ]
Stefano Baghino commented on SPARK-7425: ---------------------------------------- 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org