[ https://issues.apache.org/jira/browse/SPARK-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991287#comment-14991287 ]
Stefano Baghino commented on SPARK-7425: ---------------------------------------- Thank you for the feedback, [~josephkb]. I agree with what you say, it's just that the edit proposed by [~gweidner] would result in regressions when the SchemaUtils.checkColumnType routine is called with non-NumericTypes (I've checked usages throughout the code). I'm checking if there's another way to work on the issue without causing unwanted regressions. I actually implemented a solution and "just" need to write proper tests, I'll need a little time as I'm doing this in my spare time. :) > 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