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