mlr_learners_clust.xmeans | R Documentation |
A LearnerClust for X-means clustering implemented in RWeka::XMeans()
.
The predict method uses RWeka::predict.Weka_clusterer()
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.xmeans") lrn("clust.xmeans")
Task type: “clust”
Predict Types: “partition”
Feature Types: “logical”, “integer”, “numeric”
Required Packages: mlr3, mlr3cluster, RWeka
Id | Type | Default | Levels | Range |
B | numeric | 1 | [0, \infty) |
|
C | numeric | 0 | [0, \infty) |
|
D | untyped | weka.core.EuclideanDistance | - | |
H | integer | 4 | [1, \infty) |
|
I | integer | 1 | [1, \infty) |
|
J | integer | 1000 | [1, \infty) |
|
K | untyped | - | ||
L | integer | 2 | [1, \infty) |
|
M | integer | 1000 | [1, \infty) |
|
S | integer | 10 | [1, \infty) |
|
U | integer | 0 | [0, \infty) |
|
use_kdtree | logical | FALSE | TRUE, FALSE | - |
N | untyped | - | - | |
O | untyped | - | - | |
Y | untyped | - | - | |
output_debug_info | logical | FALSE | TRUE, FALSE | - |
mlr3::Learner
-> mlr3cluster::LearnerClust
-> LearnerClustXMeans
new()
Creates a new instance of this R6 class.
LearnerClustXMeans$new()
clone()
The objects of this class are cloneable with this method.
LearnerClustXMeans$clone(deep = FALSE)
deep
Whether to make a deep clone.
if (requireNamespace("RWeka")) {
learner = mlr3::lrn("clust.xmeans")
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.