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
Documentation Request: explicit example passing parameters to model. #554
Comments
This isn't a problem that would have an obvious answer. However, I'm not sure where to document this so that it will be more easily seen. There is a In some cases, I can intercept the I could will put a note at the top of the available models page saying "if your model has a parameter called |
Is it true that you could pass all of the parameters via an appropriately structured If true, I'd be happy to fork and make a pull request with my documentation verbiage as I stated above. Thank you again for the great package. |
No. There are a lot of options in the average model function that don't affect performance. The tuning grid only includes arguments that do. There isn't an easy solution when the names of |
I'd consider this closed if you do. I think the real problem was that I fundamentally misunderstood that If it matters, I was going to go down the path to see what it took to make a custom model that I could feed to |
Okay. Thanks for the feedback |
The
train()
function has an explicitmethod
parameter that specifies a model. However, models likepolr
exist that also have amethod
parameter. Normally, you can pass parameters to the underlying functions in thedots
parameter, but you cannot when you have a parameter name clash. The solution seems to be to feed it as a column of thetuneGrid
parameter data frame. I got the answer here: http://stackoverflow.com/questions/41230809/passing-parameters-to-dots-that-conflict-with-explicit-parameters/41258583#41258583 .I suggest that this behavior be documented somehow, somewhere, with an example. Perhaps in the documentation that refers to
polr
in the "available models" listings. Thank you.The text was updated successfully, but these errors were encountered: