Я получаю следующую ошибку при вводе кода здесь.
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'