We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98773a commit f7287eeCopy full SHA for f7287ee
mllib/src/main/scala/org/apache/spark/mllib/stat/correlation/PearsonCorrelation.scala
@@ -101,7 +101,7 @@ private[stat] object PearsonCorrelation extends Correlation with Logging {
101
Matrices.fromBreeze(cov)
102
}
103
104
- private def closeToZero(value: Double, threshhold: Double = 1e-12): Boolean = {
+ private def closeToZero(value: Double, threshold: Double = 1e-12): Boolean = {
105
math.abs(value) <= threshhold
106
107
0 commit comments