calour.training.SortedStratifiedKFold.get_n_splits

SortedStratifiedKFold.get_n_splits(X=None, y=None, groups=None)[source]

Returns the number of splitting iterations in the cross-validator

Parameters:
  • X (object) – Always ignored, exists for compatibility.
  • y (object) – Always ignored, exists for compatibility.
  • groups (object) – Always ignored, exists for compatibility.
Returns:

n_splits – Returns the number of splitting iterations in the cross-validator.

Return type:

int