Skip to content

Conversation

sebffischer
Copy link
Member

@sebffischer sebffischer commented Apr 23, 2025

TODOs:

  • handle grouping (less than folds groups)
  • change algorithm for grouping / stratification (?)

Related issue: #1293

@sebffischer sebffischer marked this pull request as draft April 24, 2025 04:43
@mllg mllg requested a review from be-marc August 13, 2025 07:52
.check = function(task) {
pvs = self$param_set$get_values()
if (!is.null(task$groups)) {
n_groups = length(unique(task$groups$group))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uniqueN() can make use of the data.table key.

.check = function(task) {
pvs = self$param_set$get_values()
if (!is.null(task$groups)) {
n_groups = length(unique(task$groups$group))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uniqueN() can make use of the data.table key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants