Skip to content

Commit

Permalink
fix: remove defaults in params that are not in base R or imports
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed Dec 21, 2024
1 parent f2d07f6 commit 43f9a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# mlr3cluster (development version)

* fix: Mclust learner no longer sets the control default with a function not in
import to stay compliant with {paradox} conventions

# mlr3cluster 0.1.10

* Add BIRCH learner from 'stream' package
Expand Down
2 changes: 1 addition & 1 deletion R/LearnerClustMclust.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ LearnerClustMclust = R6Class("LearnerClustMclust",
G = p_uty(default = 1:9, tags = "train", custom_check = check_numeric),
modelNames = p_uty(tags = "train", custom_check = check_character),
prior = p_uty(tags = "train", custom_check = check_list),
control = p_uty(default = mclust::emControl(), tags = "train", custom_check = check_list),
control = p_uty(tags = "train", custom_check = check_list),
initialization = p_uty(tags = "train", custom_check = check_list),
x = p_uty(tags = "train", custom_check = crate(function(x) check_class(x, "mclustBIC")))
)
Expand Down

0 comments on commit 43f9a11

Please sign in to comment.