Skip to content

Commit

Permalink
chore: more minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed Feb 16, 2025
1 parent 13d1aba commit fbf5a24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions R/LearnerClust.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ LearnerClust = R6Class("LearnerClust",

#' @description
#' Creates a new instance of this [R6][R6::R6Class] class.
initialize = function(id, param_set = ps(), predict_types = "partition", feature_types = character(),
properties = character(), packages = character(), label = NA_character_, man = NA_character_) {
initialize = function(
id, param_set = ps(),
predict_types = "partition",
feature_types = character(),
properties = character(),
packages = character(),
label = NA_character_,
man = NA_character_
) {
super$initialize(
id = id,
task_type = "clust",
Expand Down
1 change: 1 addition & 0 deletions R/PredictionClust.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ PredictionClust = R6Class("PredictionClust",
self$predict_types = intersect(c("partition", "prob"), names(pdata))
}
),

active = list(
#' @field partition (`integer()`)\cr
#' Access the stored partition.
Expand Down

0 comments on commit fbf5a24

Please sign in to comment.