Skip to content

Commit 20ebca1

Browse files
committed
Removed unusued code
1 parent 42b2142 commit 20ebca1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mllib/src/main/scala/org/apache/spark/mllib/clustering/GaussianMixtureModelEM.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ class GaussianMixtureModelEM private (
143143
}
144144
}
145145

146-
/*var gaussians = (0 until k).map{ i =>
147-
(1.0 / k,
148-
vectorMean(samples.slice(i * nSamples, (i + 1) * nSamples)),
149-
initCovariance(samples.slice(i * nSamples, (i + 1) * nSamples)))
150-
}.toArray
151-
*/
152146
val accW = new Array[Accumulator[Double]](k)
153147
val accMu = new Array[Accumulator[DenseDoubleVector]](k)
154148
val accSigma = new Array[Accumulator[DenseDoubleMatrix]](k)

0 commit comments

Comments
 (0)