Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.0, 2.3.0, 2.4.0, 3.0.0
-
Spark 2.2 accidentally introduced the method LinearSVCModel.setWeightCol. This method works incorrectly, too. It is removed in 3.0.
Description
1, the weightCol is only used in training, and should not be set inĀ LinearSVCModel;
2, the method 'def setWeightCol(value: Double): this.type = set(threshold, value)' is wrongly defined, since value should be a string and weightCol instead of threshold should be set.