diff options
author | WeichenXu <WeichenXu123@outlook.com> | 2016-07-18 09:11:53 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-07-18 09:11:53 +0100 |
commit | a529fc944209e7255ec5858b33490212884d6c60 (patch) | |
tree | 081ac7a2ba7206bab8e345df81a505d62898b46d /mllib/src/main | |
parent | 480c870644595a71102be6597146d80b1c0816e4 (diff) | |
download | spark-a529fc944209e7255ec5858b33490212884d6c60.tar.gz spark-a529fc944209e7255ec5858b33490212884d6c60.tar.bz2 spark-a529fc944209e7255ec5858b33490212884d6c60.zip |
[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.
Diffstat (limited to 'mllib/src/main')
4 files changed, 4 insertions, 4 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala b/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala index 1fed5fd429..91eee0e69d 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala @@ -425,7 +425,7 @@ class LogisticRegression @Since("1.2.0") ( } if (!state.actuallyConverged) { - logWarning("LogisticRegression training fininshed but the result " + + logWarning("LogisticRegression training finished but the result " + s"is not converged because: ${state.convergedReason.get.reason}") } diff --git a/mllib/src/main/scala/org/apache/spark/ml/regression/AFTSurvivalRegression.scala b/mllib/src/main/scala/org/apache/spark/ml/regression/AFTSurvivalRegression.scala index 366448fc56..700a92cc26 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/regression/AFTSurvivalRegression.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/regression/AFTSurvivalRegression.scala @@ -246,7 +246,7 @@ class AFTSurvivalRegression @Since("1.6.0") (@Since("1.6.0") override val uid: S } if (!state.actuallyConverged) { - logWarning("AFTSurvivalRegression training fininshed but the result " + + logWarning("AFTSurvivalRegression training finished but the result " + s"is not converged because: ${state.convergedReason.get.reason}") } diff --git a/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala b/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala index c57e9eb0bf..401f2c673f 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala @@ -326,7 +326,7 @@ class LinearRegression @Since("1.3.0") (@Since("1.3.0") override val uid: String } if (!state.actuallyConverged) { - logWarning("LinearRegression training fininshed but the result " + + logWarning("LinearRegression training finished but the result " + s"is not converged because: ${state.convergedReason.get.reason}") } diff --git a/mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala b/mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala index c61b2db6c9..fd09f35277 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala @@ -214,7 +214,7 @@ object LBFGS extends Logging { lossHistory += state.value if (!state.actuallyConverged) { - logWarning("LBFGS training fininshed but the result " + + logWarning("LBFGS training finished but the result " + s"is not converged because: ${state.convergedReason.get.reason}") } |