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

    https://github.com/apache/spark/pull/10355#discussion_r47933370
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/classification/DecisionTreeClassifierSuite.scala
 ---
    @@ -275,6 +274,40 @@ class DecisionTreeClassifierSuite extends 
SparkFunSuite with MLlibTestSparkConte
         val model = dt.fit(df)
       }
     
    +  test("DecisionTree should support all NumericType labels") {
    +    val dfWithIntLabels = 
TreeTests.setMetadata(sqlContext.createDataFrame(Seq(
    --- End diff --
    
    I think so too, thanks.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to