[ https://issues.apache.org/jira/browse/SPARK-17848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-17848: ------------------------------------ Assignee: (was: Apache Spark) > Move LabelCol datatype cast into Predictor.fit > ---------------------------------------------- > > Key: SPARK-17848 > URL: https://issues.apache.org/jira/browse/SPARK-17848 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: zhengruifeng > > `Classifier.getNumClasses` can not support Non-Double types, and > classification algos relying on it do not support non-double labelCol (like > `NavieBayes`) > As suggested by [~sethah], it is not a reasonable way to do datatype cast > everywhere. And we can make cast only happen in `Predictor`. > [~yanboliang][~josephkb][~srowen] -- 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