-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I was doing something like example_sample_continuous |> score(metrics = list("crps" = crps_sample()) instead of example_sample_continuous |> score(metrics = list("crps" = crps_sample) and getting the error r "Error in assert_numeric(observed, min.len = 1) : argument "observed" is missing, with no default". The main difference here is the () at the end of the first invocation. That's because the helpfile mentioned you need to pass a function. I think this can be clarified by adding an example in score(). It took me a lot of digging in the code to clarify this.
Metadata
Metadata
Assignees
Labels
No labels