-
Notifications
You must be signed in to change notification settings - Fork 73
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 SplineCV: a cross-validated Spline #185
Conversation
@santisoler finally had some time to finish this PR. Would you mind taking a look at it? I didn't edit the tutorial because I'm thinking that we should split the "Model Selection" tutorial into "Model Performance" and "Model Tuning". The first only focuses on running |
The previous model selection tutorial covered both scoring and automatic tuning. Separate into two tutorials "Evaluating Performance" and "Model Selection" so they are both shorter. Include a section in "Model Selection" about the new `SplineCV` class from #185.
Sorry for missing the review! Great to have this merged! Nice work @leouieda! |
The previous model selection tutorial covered both scoring and automatic tuning. Separate into two tutorials "Evaluating Performance" and "Model Selection" so they are both shorter. Include a section in "Model Selection" about the new `SplineCV` class from #185.
The
SplineCV
class perfoms grid search cross-validation to auto-tune aSpline
.It uses
cross_val_score
to cross-validate and can be configured to run in parallelwith a
dask.distributed.Client
and take different scikit-learn splitters besidesKFold
. Tested on the checkerboard function and add a gallery example using theTexas temperature data.
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
andverde/__init__.py
.