Skip to content

Commit

Permalink
[MINOR] Fix typos in ML scaladocs
Browse files Browse the repository at this point in the history
## What changes were proposed in this pull request?

Fixed some typos found in ML scaladocs

## How was this patch tested?

NA

Author: Bryan Cutler <cutlerb@gmail.com>

Closes #20300 from BryanCutler/ml-doc-typos-MINOR.
  • Loading branch information
BryanCutler authored and srowen committed Jan 17, 2018
1 parent 45ad97d commit 7823d43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ sealed abstract class SummaryBuilder {
* val Row(meanVec) = meanDF.first()
* }}}
*
* Note: Currently, the performance of this interface is about 2x~3x slower then using the RDD
* Note: Currently, the performance of this interface is about 2x~3x slower than using the RDD
* interface.
*/
@Experimental
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class TrainValidationSplit @Since("1.5.0") (@Since("1.5.0") override val uid: St
def setSeed(value: Long): this.type = set(seed, value)

/**
* Set the mamixum level of parallelism to evaluate models in parallel.
* Set the maximum level of parallelism to evaluate models in parallel.
* Default is 1 for serial evaluation
*
* @group expertSetParam
Expand All @@ -112,7 +112,8 @@ class TrainValidationSplit @Since("1.5.0") (@Since("1.5.0") override val uid: St
* for more information.
*
* @group expertSetParam
*/@Since("2.3.0")
*/
@Since("2.3.0")
def setCollectSubModels(value: Boolean): this.type = set(collectSubModels, value)

@Since("2.0.0")
Expand Down

0 comments on commit 7823d43

Please sign in to comment.