Skip to content

Change order of classes for LOO #595

@hfrick

Description

@hfrick

This should be first the more specific class, then the more general class (and it could just be an anonymous function inside of loo_cv()). We'll need to check revdeps when changing this one.

rsample/R/loo.R

Lines 35 to 38 in 4357e11

change_class <- function(x) {
class(x) <- c("rsplit", "loo_split")
x
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions