File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -863,15 +863,15 @@ class StratifiedGroupKFold(GroupsConsumerMixin, _BaseKFold):
863
863
Each group will appear exactly once in the test set across all folds (the
864
864
number of distinct groups has to be at least equal to the number of folds).
865
865
866
- The difference between :class:`~sklearn.model_selection. GroupKFold`
867
- and :class:`~sklearn.model_selection. StratifiedGroupKFold` is that
866
+ The difference between :class:`GroupKFold`
867
+ and ` StratifiedGroupKFold` is that
868
868
the former attempts to create balanced folds such that the number of
869
869
distinct groups is approximately the same in each fold, whereas
870
- StratifiedGroupKFold attempts to create folds which preserve the
870
+ ` StratifiedGroupKFold` attempts to create folds which preserve the
871
871
percentage of samples for each class as much as possible given the
872
872
constraint of non-overlapping groups between splits.
873
873
874
- Read more in the :ref:`User Guide <cross_validation >`.
874
+ Read more in the :ref:`User Guide <stratified_group_k_fold >`.
875
875
876
876
For visualisation of cross-validation behaviour and
877
877
comparison between common scikit-learn split methods
You can’t perform that action at this time.
0 commit comments