You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/14 06:25:45 UTC
[jira] [Commented] (SPARK-9956) Spark ML trees and ensembles fail
for categorical features with 1 category
[ https://issues.apache.org/jira/browse/SPARK-9956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696452#comment-14696452 ]
Apache Spark commented on SPARK-9956:
-------------------------------------
User 'jkbradley' has created a pull request for this issue:
https://github.com/apache/spark/pull/8187
> Spark ML trees and ensembles fail for categorical features with 1 category
> --------------------------------------------------------------------------
>
> Key: SPARK-9956
> URL: https://issues.apache.org/jira/browse/SPARK-9956
> Project: Spark
> Issue Type: Bug
> Components: ML
> Reporter: Joseph K. Bradley
> Assignee: Joseph K. Bradley
>
> Spark ML trees and ensembles can be given metadata (e.g., from VectorIndexer) indicating that a certain feature is categorical with a single possible value. This causes learning to fail.
> Proposal: For now, fix this by making sure the algorithm still runs with such a feature, and remove the checks (which currently cause failure). In the future, we can filter out these features to improve performance when there are many useless features.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org