Skip to content

Commit 76efd0b

Browse files
committed
finer adjustment of SparkR mllib test expectaion
1 parent 4848f42 commit 76efd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/inst/tests/testthat/test_mllib.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ test_that("spark.gaussianMixture", {
546546
df <- createDataFrame(data, c("x1", "x2"))
547547
model <- spark.gaussianMixture(df, ~ x1 + x2, k = 2)
548548
stats <- summary(model)
549-
rLambda <- c(0.509, 0.491)
549+
rLambda <- c(0.50861, 0.49139)
550550
rMu <- c(0.267, 1.195, 2.743, 4.730)
551551
rSigma <- c(1.099, 1.339, 1.339, 1.798,
552552
0.145, -0.309, -0.309, 0.716)

0 commit comments

Comments
 (0)