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

modified cross_validation.rst file with a k-fold cross validation example #994

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/source/cross_validation.rst
Co-authored-by: Tom Augspurger <tom.augspurger88@gmail.com>
narayn5 and TomAugspurger authored Jun 9, 2024
commit c89ac72046ee5343bf241190339d520590a5cca7
1 change: 1 addition & 0 deletions docs/source/cross_validation.rst
Original file line number Diff line number Diff line change
@@ -46,6 +46,7 @@ Here is another illustration of performing k-fold cross validation purely in Das

The Dask kFold method splits the data into k consecutive subsets of data. Here we specify k to be 5, hence, 5-fold cross validation


.. ipython:: python
kf = KFold(n_splits=5)