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

    https://github.com/apache/spark/pull/17151#discussion_r104594062
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/classification/DecisionTreeClassifierSuite.scala
 ---
    @@ -372,16 +372,18 @@ class DecisionTreeClassifierSuite
         // Categorical splits with tree depth 2
         val categoricalData: DataFrame =
           TreeTests.setMetadata(rdd, Map(0 -> 2, 1 -> 3), numClasses = 2)
    -    testEstimatorAndModelReadWrite(dt, categoricalData, allParamSettings, 
checkModelData)
    +    testEstimatorAndModelReadWrite(dt, categoricalData, allParamSettings,
    --- End diff --
    
    Good points. I still think it's better to just add the extra constructor, 
but I don't feel strongly about it. So we can proceed with whatever you feel is 
best. 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