Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/22063#discussion_r209426781
--- Diff: mllib/src/main/scala/org/apache/spark/ml/Predictor.scala ---
@@ -211,9 +211,7 @@ abstract class PredictionModel[FeaturesType, M <:
PredictionModel[FeaturesType,
}
protected def transformImpl(dataset: Dataset[_]): DataFrame = {
- val predictUDF = udf { (features: Any) =>
--- End diff --
I'm really surprised that this worked before...
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]