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

    https://github.com/apache/spark/pull/14035#discussion_r69390132
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/classification/GBTClassifierSuite.scala
 ---
    @@ -134,15 +135,14 @@ class GBTClassifierSuite extends SparkFunSuite with 
MLlibTestSparkContext
       */
     
       test("Fitting without numClasses in metadata") {
    -    val df: DataFrame = 
spark.createDataFrame(TreeTests.featureImportanceData(sc))
    +    val df: DataFrame = TreeTests.featureImportanceData(sc).toDF()
         val gbt = new GBTClassifier().setMaxDepth(1).setMaxIter(1)
         gbt.fit(df)
    --- End diff --
    
    Wonder why this line is separate not part of 139? Any reason?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to