Skip to content

Commit 6a642e5

Browse files
committed
fix typos
1 parent 4371466 commit 6a642e5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mllib/src/main/scala/org/apache/spark/ml/stat/Summarizer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ sealed abstract class SummaryBuilder {
7575
* val Row(meanVec) = meanDF.first()
7676
* }}}
7777
*
78-
* Note: Currently, the performance of this interface is about 2x~3x slower then using the RDD
78+
* Note: Currently, the performance of this interface is about 2x~3x slower than using the RDD
7979
* interface.
8080
*/
8181
@Experimental

mllib/src/main/scala/org/apache/spark/ml/tuning/TrainValidationSplit.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class TrainValidationSplit @Since("1.5.0") (@Since("1.5.0") override val uid: St
9393
def setSeed(value: Long): this.type = set(seed, value)
9494

9595
/**
96-
* Set the mamixum level of parallelism to evaluate models in parallel.
96+
* Set the maximum level of parallelism to evaluate models in parallel.
9797
* Default is 1 for serial evaluation
9898
*
9999
* @group expertSetParam
@@ -112,7 +112,8 @@ class TrainValidationSplit @Since("1.5.0") (@Since("1.5.0") override val uid: St
112112
* for more information.
113113
*
114114
* @group expertSetParam
115-
*/@Since("2.3.0")
115+
*/
116+
@Since("2.3.0")
116117
def setCollectSubModels(value: Boolean): this.type = set(collectSubModels, value)
117118

118119
@Since("2.0.0")

0 commit comments

Comments
 (0)