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 254e8a4 commit 8f0e578Copy full SHA for 8f0e578
R/pkg/inst/tests/testthat/test_mllib_fpm.R
@@ -71,6 +71,13 @@ test_that("spark.fpGrowth", {
71
collect(spark.freqItemsets(loaded_model)))
72
73
unlink(modelPath)
74
+
75
+ model_without_numpartitions <- spark.fpGrowth(data, minSupport = 0.3, minConfidence = 0.8)
76
+ expect_equal(
77
+ count(spark.freqItemsets(model_without_numpartitions)),
78
+ count(spark.freqItemsets(model))
79
+ )
80
81
})
82
83
sparkR.session.stop()
0 commit comments