在此处输入代码时出现以下错误。
rf = LinearSVC(labelCol="indexedLabel", maxIter=10, regParam=0.1)
pipeline = Pipeline(stages=[self.labelIndexer, self.featureIndexer, rf,
self.labelConverter])
model = pipeline.fit(self.trainingData)
IllegalArgumentException: u'requirement failed: LinearSVC only supports binary classification. 99 classes detected in LinearSVC_6596220b55a3__labelCol'