Skip to content

Commit a337410

Browse files
MN193adrinjalali
andauthored
DOC add link to plot_cv_indices example in _split (scikit-learn#27244)
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
1 parent b7169fd commit a337410

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

sklearn/model_selection/_split.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,10 @@ class KFold(_BaseKFold):
410410
411411
Read more in the :ref:`User Guide <k_fold>`.
412412
413+
For visualisation of cross-validation behaviour and
414+
comparison between common scikit-learn split methods
415+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
416+
413417
Parameters
414418
----------
415419
n_splits : int, default=5
@@ -502,6 +506,10 @@ class GroupKFold(GroupsConsumerMixin, _BaseKFold):
502506
503507
Read more in the :ref:`User Guide <group_k_fold>`.
504508
509+
For visualisation of cross-validation behaviour and
510+
comparison between common scikit-learn split methods
511+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
512+
505513
Parameters
506514
----------
507515
n_splits : int, default=5
@@ -626,6 +634,10 @@ class StratifiedKFold(_BaseKFold):
626634
627635
Read more in the :ref:`User Guide <stratified_k_fold>`.
628636
637+
For visualisation of cross-validation behaviour and
638+
comparison between common scikit-learn split methods
639+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
640+
629641
Parameters
630642
----------
631643
n_splits : int, default=5
@@ -817,6 +829,10 @@ class StratifiedGroupKFold(GroupsConsumerMixin, _BaseKFold):
817829
818830
Read more in the :ref:`User Guide <cross_validation>`.
819831
832+
For visualisation of cross-validation behaviour and
833+
comparison between common scikit-learn split methods
834+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
835+
820836
Parameters
821837
----------
822838
n_splits : int, default=5
@@ -1016,6 +1032,10 @@ class TimeSeriesSplit(_BaseKFold):
10161032
10171033
Read more in the :ref:`User Guide <time_series_split>`.
10181034
1035+
For visualisation of cross-validation behaviour and
1036+
comparison between common scikit-learn split methods
1037+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
1038+
10191039
.. versionadded:: 0.18
10201040
10211041
Parameters
@@ -1766,6 +1786,10 @@ class ShuffleSplit(BaseShuffleSplit):
17661786
17671787
Read more in the :ref:`User Guide <ShuffleSplit>`.
17681788
1789+
For visualisation of cross-validation behaviour and
1790+
comparison between common scikit-learn split methods
1791+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
1792+
17691793
Parameters
17701794
----------
17711795
n_splits : int, default=10
@@ -1896,6 +1920,10 @@ class GroupShuffleSplit(GroupsConsumerMixin, ShuffleSplit):
18961920
18971921
Read more in the :ref:`User Guide <group_shuffle_split>`.
18981922
1923+
For visualisation of cross-validation behaviour and
1924+
comparison between common scikit-learn split methods
1925+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
1926+
18991927
Parameters
19001928
----------
19011929
n_splits : int, default=5
@@ -2026,6 +2054,10 @@ class StratifiedShuffleSplit(BaseShuffleSplit):
20262054
20272055
Read more in the :ref:`User Guide <stratified_shuffle_split>`.
20282056
2057+
For visualisation of cross-validation behaviour and
2058+
comparison between common scikit-learn split methods
2059+
refer to :ref:`sphx_glr_auto_examples_model_selection_plot_cv_indices.py`
2060+
20292061
Parameters
20302062
----------
20312063
n_splits : int, default=10

0 commit comments

Comments
 (0)