-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentation / default arg metrics
in score()
#399
Comments
I tested this and it didn't really work. The problem is in Either
or
We can still have the description be "an optional list", but I'm not sure adding |
@seabbs Do you care strongly about this or do you think we can close this for? I don't really have a strong preference, but if you care I'm happy to keep it open |
Closing this for now, but please feel free to re-open |
So this surfaces something we could think about which would be forcing the user to explicitly call |
I opened up a new issue, #507 which I think mostly includes this issue as well:
|
Suggestion would be to have metrics be an argument of
score()
, i.e.score <- function(data, metrics, ...)
which then has a default for all the methods.For the documentation, could write something like
The text was updated successfully, but these errors were encountered: