Featureless Clustering Learner
Source:R/LearnerClustFeatureless.R
mlr_learners_clust.featureless.Rd
A simple LearnerClust which randomly (but evenly) assigns observations to
num_clusters
partitions (default: 1 partition).
Dictionary
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn()
:
$get("clust.featureless")
mlr_learnerslrn("clust.featureless")
Meta Information
Task type: “clust”
Predict Types: “partition”, “prob”
Feature Types: “logical”, “integer”, “numeric”
Required Packages: mlr3, mlr3cluster
Super classes
mlr3::Learner
-> mlr3cluster::LearnerClust
-> LearnerClustFeatureless
Examples
if (requireNamespace("mlr3")) {
learner = mlr3::lrn("clust.featureless")
print(learner)
# available parameters:
learner$param_set$ids()
}
#> <LearnerClustFeatureless:clust.featureless>: Featureless Clustering
#> * Model: -
#> * Parameters: num_clusters=1
#> * Packages: mlr3, mlr3cluster
#> * Predict Types: [partition], prob
#> * Feature Types: logical, integer, numeric
#> * Properties: complete, exclusive, missings, partitional
#> [1] "num_clusters"