there seem to have been changes in subset.R.
- subset.ranked.list is not detected as S3 method
- new function taskSubset()
was this due to the fact that there is no distinction between ranked and ranked.list anymore?
- should subset.ranked.list become algorithmSubset()? I had tried to avoid these long names... or should taskSubset be included in subset(), e.g. distinguishing
subset(x, top=...) or subset(x, topAlgorithms=...) subset(x, tasks=...)
Additionally in subset.ranked.list:
objectTop$data[[1]][[attribute]] <- droplevels(objectTop$data[[1]][[attribute]])
may lead to errors and should be replaced by
if (is.factor(objectTop$data[[1]][[attribute]])) objectTop$data[[1]][[attribute]] <- droplevels(objectTop$data[[1]][[attribute]])