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 b8a42f2 commit 747ca68Copy full SHA for 747ca68
examples/src/main/r/ml/gaussianMixture.R
@@ -31,7 +31,7 @@ training <- df
31
test <- df
32
33
# Fit a gaussian mixture clustering model with spark.gaussianMixture
34
-model <- spark.gaussianMixture(training, label ~ features, k = 2)
+model <- spark.gaussianMixture(training, ~ features, k = 2)
35
36
# Model summary
37
summary(model)
0 commit comments