Skip to content

Commit

Permalink
fix: set dbscan and co to density instead or partitioning
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed Apr 22, 2024
1 parent a922215 commit c0ca811
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/LearnerClustDBSCAN.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ LearnerClustDBSCAN = R6Class("LearnerClustDBSCAN",
feature_types = c("logical", "integer", "numeric"),
predict_types = "partition",
param_set = param_set,
properties = c("partitional", "exclusive", "complete"),
properties = c("density", "exclusive", "complete"),
packages = "dbscan",
man = "mlr3cluster::mlr_learners_clust.dbscan",
label = "Density-Based Clustering"
Expand Down
2 changes: 1 addition & 1 deletion R/LearnerClustDBSCANfpc.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ LearnerClustDBSCANfpc = R6Class("LearnerClustDBSCANfpc",
feature_types = c("logical", "integer", "numeric"),
predict_types = "partition",
param_set = param_set,
properties = c("partitional", "exclusive", "complete"),
properties = c("density", "exclusive", "complete"),
man = "mlr3cluster::mlr_learners_clust.dbscan_fpc",
label = "Density-Based Clustering with fpc"
)
Expand Down
2 changes: 1 addition & 1 deletion R/LearnerClustHDBSCAN.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ LearnerClustHDBSCAN = R6Class("LearnerClustHDBSCAN",
feature_types = c("logical", "integer", "numeric"),
predict_types = "partition",
param_set = param_set,
properties = c("partitional", "exclusive", "complete"),
properties = c("density", "exclusive", "complete"),
packages = "dbscan",
man = "mlr3cluster::mlr_learners_clust.hdbscan",
label = "HDBSCAN Clustering"
Expand Down
2 changes: 1 addition & 1 deletion R/LearnerClustOPTICS.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ LearnerClustOPTICS = R6Class("LearnerClustOPTICS",
feature_types = c("logical", "integer", "numeric"),
predict_types = "partition",
param_set = param_set,
properties = c("partitional", "exclusive", "complete"),
properties = c("density", "exclusive", "complete"),
packages = "dbscan",
man = "mlr3cluster::mlr_learners_clust.optics",
label = "OPTICS Clustering"
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ register_mlr3 = function() {
x$task_col_roles$clust = x$task_col_roles$regr
x$task_properties$clust = x$task_properties$regr
x$learner_properties$clust = c(
"missings", "partitional", "hierarchical", "exclusive", "overlapping", "fuzzy", "complete", "partial"
"missings", "partitional", "hierarchical", "exclusive", "overlapping", "fuzzy", "complete", "partial", "density"
)

# measure
Expand Down

0 comments on commit c0ca811

Please sign in to comment.