class_docstr: Base class for all cross-validators
  
  Implementations must define `_iter_test_masks` or `_iter_test_indices`.
docstr: Returns the number of splitting iterations in the cross-validator
docstr_tok: ["Returns","the","number","of","splitting","iterations","in","the","cross-validator"]
code: def get_n_splits(self, X=None, y=None, groups=None):
      """Returns the number of splitting iterations in the cross-validator"""
  
imports: import numbers
  from abc import ABCMeta, abstractmethod
  from itertools import chain
  from math import ceil, floor
  import numpy
  from ...core import ExecutableTuple
  from ...None import tensor
  from ...tensor.utils import check_random_state
  from ..utils import shuffle
  from ..utils.validation import indexable, _num_samples
label_desc: Use image node_id 4 for calling the BaseCrossValidator obj's underlying member method code with example usage: obj.get_n_splits(X, y, groups) without return types