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

    https://github.com/apache/spark/pull/19208#discussion_r149217598
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala ---
    @@ -262,15 +273,26 @@ class CrossValidatorModel private[ml] (
     
       private var _subModels: Option[Array[Array[Model[_]]]] = None
     
    -  @Since("2.3.0")
       private[tuning] def setSubModels(subModels: 
Option[Array[Array[Model[_]]]])
         : CrossValidatorModel = {
         _subModels = subModels
         this
       }
     
    +  /**
    +   * @return submodels represented in two dimension array. The index of 
outer array is the
    +   *         fold index, and the index of inner array corresponds to the 
ordering of
    +   *         estimatorParamsMaps
    --- End diff --
    
    typo: estimatorParamMaps


---

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

Reply via email to