Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengruifeng committed Feb 6, 2020
1 parent e58054c commit 448ed80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ class GaussianMixtureModel private[ml] (

@Since("3.0.0")
def predictProbability(features: Vector): Vector = {
val probs: Array[Double] =
GaussianMixtureModel.computeProbabilities(features, gaussians, weights)
val probs = GaussianMixtureModel
.computeProbabilities(features, gaussians, weights)
Vectors.dense(probs)
}

Expand Down

0 comments on commit 448ed80

Please sign in to comment.