[ https://issues.apache.org/jira/browse/SPARK-27400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859878#comment-16859878 ]
zhengruifeng commented on SPARK-27400: -------------------------------------- According to current design, LinearSVC only support binary classification. To deal with multi-class cases, you may try one-vs-rest meta alg. > LinearSVC only supports binary classification > --------------------------------------------- > > Key: SPARK-27400 > URL: https://issues.apache.org/jira/browse/SPARK-27400 > Project: Spark > Issue Type: Bug > Components: ML > Affects Versions: 2.4.1 > Reporter: baris > Priority: Major > > IllegalArgumentException: u'requirement failed: LinearSVC only supports > binary c > lassification. 99 classes detected in LinearSVC_6596220b55a3__labelCol' -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org