Skip to content
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

Rethink argument matching in multi_model_. #13

Open
Nelson-Gon opened this issue May 7, 2020 · 0 comments
Open

Rethink argument matching in multi_model_. #13

Nelson-Gon opened this issue May 7, 2020 · 0 comments
Labels
bug Something isn't working FIXME

Comments

@Nelson-Gon
Copy link
Owner

Given several methods, multi_model_1 should be able to match arguments only for the method in question and not throw warnings.

Something like:

[multi_model_1(train,"dist","speed",method = c("glm","lm"),metric = "rmse",control = ctrl,new_data = test,family="poisson")

should not throw any warnings.

Similarly, perhaps have several metrics eg c("accuracy","rmse") and match these to the relevant model?

@Nelson-Gon Nelson-Gon added bug Something isn't working FIXME labels May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FIXME
Projects
None yet
Development

No branches or pull requests

1 participant