Skip to content

Commit 2365d63

Browse files
WeichenXu123srowen
authored andcommitted
[MINOR][TYPO] fix fininsh typo
## What changes were proposed in this pull request? fininsh => finish ## How was this patch tested? N/A Author: WeichenXu <WeichenXu123@outlook.com> Closes #14238 from WeichenXu123/fix_fininsh_typo. (cherry picked from commit a529fc9) Signed-off-by: Sean Owen <sowen@cloudera.com>
1 parent 808d69a commit 2365d63

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class LogisticRegression @Since("1.2.0") (
425425
}
426426

427427
if (!state.actuallyConverged) {
428-
logWarning("LogisticRegression training fininshed but the result " +
428+
logWarning("LogisticRegression training finished but the result " +
429429
s"is not converged because: ${state.convergedReason.get.reason}")
430430
}
431431

mllib/src/main/scala/org/apache/spark/ml/regression/AFTSurvivalRegression.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class AFTSurvivalRegression @Since("1.6.0") (@Since("1.6.0") override val uid: S
246246
}
247247

248248
if (!state.actuallyConverged) {
249-
logWarning("AFTSurvivalRegression training fininshed but the result " +
249+
logWarning("AFTSurvivalRegression training finished but the result " +
250250
s"is not converged because: ${state.convergedReason.get.reason}")
251251
}
252252

mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class LinearRegression @Since("1.3.0") (@Since("1.3.0") override val uid: String
326326
}
327327

328328
if (!state.actuallyConverged) {
329-
logWarning("LinearRegression training fininshed but the result " +
329+
logWarning("LinearRegression training finished but the result " +
330330
s"is not converged because: ${state.convergedReason.get.reason}")
331331
}
332332

mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ object LBFGS extends Logging {
214214
lossHistory += state.value
215215

216216
if (!state.actuallyConverged) {
217-
logWarning("LBFGS training fininshed but the result " +
217+
logWarning("LBFGS training finished but the result " +
218218
s"is not converged because: ${state.convergedReason.get.reason}")
219219
}
220220

0 commit comments

Comments
 (0)