Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22063#discussion_r212392363
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/Classifier.scala ---
    @@ -164,19 +164,15 @@ abstract class ClassificationModel[FeaturesType, M <: 
ClassificationModel[Featur
         var outputData = dataset
         var numColsOutput = 0
         if (getRawPredictionCol != "") {
    -      val predictRawUDF = udf { (features: Any) =>
    --- End diff --
    
    Thanks for your review @cloud-fan , I could really use your input here. 
That's a good find. It _may_ be that we want to explicitly support UDFs where a 
schema isn't available -- see below. But I agree I'd rather not. It gets kind 
of messy though.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to