Skip to content

performance_cv() fails with method = "loo" (object ‘test_resd’ not found) #896

@ManuelSpinola

Description

@ManuelSpinola

When using the performance_cv() function with method = "loo" on a linear model, the function throws an error indicating that the object test_resd is not found.

model <- lm(mpg ~ wt + cyl, data = mtcars)

performance_cv(model, method = "loo")
Error in performance_cv(model, method = "loo") :
object 'test_resd' not found

Metadata

Metadata

Assignees

Labels

Bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions