Print method for an object of class "light".
# S3 method for class 'light'
print(x, ...)
Invisibly, the input is returned.
fit <- lm(Sepal.Length ~ ., data = iris)
fl <- flashlight(model = fit, label = "lm", y = "Sepal.Length", data = iris)
light_performance(fl, v = "Species")
#>
#> I am an object of class light_performance
#>
#> data.frames:
#>
#> data
#> # A tibble: 1 × 3
#> metric_ value_ label_
#> <fct> <dbl> <chr>
#> 1 rmse 0.301 lm