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

warning in buildModels if trainControl indexes are not set #50

Closed
zachmayer opened this issue Nov 14, 2014 · 1 comment
Closed

warning in buildModels if trainControl indexes are not set #50

zachmayer opened this issue Nov 14, 2014 · 1 comment
Assignees

Comments

@zachmayer
Copy link
Owner

If buildModels is not passed a trainControl object with pre-definded indexes, for use with all models, we should raise a warning and try to set the resampling indexes ourselves, based on trainControl$method.

If we can't set the indexes, we should raise an error.

This probably requires a new function setIndexes.

@zachmayer
Copy link
Owner Author

Closed by #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant