mlr_learners_clust.mclust | R Documentation |
A LearnerClust for model-based clustering implemented in mclust::Mclust()
.
The predict method uses mclust::predict.Mclust()
to compute the
cluster memberships for new data.
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn()
:
mlr_learners$get("clust.mclust") lrn("clust.mclust")
Task type: “clust”
Predict Types: “partition”, “prob”
Feature Types: “logical”, “integer”, “numeric”
Required Packages: mlr3, mlr3cluster, mclust
Id | Type | Default |
G | untyped | c , 1:9 |
modelNames | untyped | - |
prior | untyped | - |
control | untyped | mclust::emControl |
initialization | untyped | - |
x | untyped | - |
mlr3::Learner
-> mlr3cluster::LearnerClust
-> LearnerClustMclust
new()
Creates a new instance of this R6 class.
LearnerClustMclust$new()
clone()
The objects of this class are cloneable with this method.
LearnerClustMclust$clone(deep = FALSE)
deep
Whether to make a deep clone.
if (requireNamespace("mclust")) {
learner = mlr3::lrn("clust.mclust")
print(learner)
# available parameters:
learner$param_set$ids()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.