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

    https://github.com/apache/spark/pull/7941#discussion_r36232855
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/tree/configuration/Strategy.scala 
---
    @@ -178,14 +178,14 @@ object Strategy {
        * @param algo  "Classification" or "Regression"
        */
       def defaultStrategy(algo: String): Strategy = {
    -    defaultStategy(Algo.fromString(algo))
    +    defaultStrategy(Algo.fromString(algo))
       }
     
       /**
        * Construct a default set of parameters for 
[[org.apache.spark.mllib.tree.DecisionTree]]
        * @param algo Algo.Classification or Algo.Regression
        */
    -  def defaultStategy(algo: Algo): Strategy = algo match {
    +  def defaultStrategy(algo: Algo): Strategy = algo match {
    --- End diff --
    
    It's OK to just change this API method because it's experimental? Instead 
of doing all that deprecation and stuff? FWIW I would agree with that.


---
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