-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add crossval function that allows for k-fold cross validation of a machine learning model. #22
Comments
The quanteda.classifiers package contains the functions Would it make sense to add these functions to quanteda.textmodels? This will allow users to validate their models without having to install the development package quanteda.classifiers (which also imports keras)? |
This is a good suggestion. So long as Ken is onboard, I'll be happy to port them over. |
I wonder if this is the best approach, or whether an integration into the new(er) tidymodels framework would be the better way to proceed. |
Certainly, integrating into the |
yes exactly - but in a way that extends quanteda.textmodels rather than requiring any new package. |
Got it. I've cloned |
Hey 👋 just wanted to chime in to say that I'm here to help/answer questions related to any tidymodels effort :) |
@EmilHvitfeldt Hey! I'm glad to hear you are interested in our project. The objective would be to make
I'm examining both packages to see what changes would be needed to make this happen. Any suggestions would be welcome! |
Hi all, Just wondering whether anything came of this idea? I am teaching with quanteda.textmodels this term and had been wondering whether there was a native quanteda cross-validation function for, e.g., textmodel_nb. Cheers! |
The idea would be to create a function
crossval(x, ...)
that takes a machine learning model as an input and allows users to evaluate the model's performance across k splits of an evaluation data set.The text was updated successfully, but these errors were encountered: