class_docstr: Train/Validation set splitter for sklearn's GridSearchCV etc.
  
  Provides train/validation set indices to split a dataset
  into train/validation sets using random indices.
  
  Parameters
  ----------
  valid_size : float (default: 0.5)
      Proportion of examples that being assigned as
      validation examples. 1-`valid_size` will then automatically
      be assigned as training set examples.
  random_seed : int (default: None)
      The random seed for splitting the data
      into training and validation set partitions.
  stratify : bool (default: False)
      True or False, whether to perform a stratified
      split or not
  
  Examples
  -----------
  For usage examples, please see
  https://rasbt.github.io/mlxtend/user_guide/evaluate/RandomHoldoutSplit/
class_docstr_tok: ["Train\/Validation","set","splitter","for","sklearn","'s","GridSearchCV","etc",".","Provides","train\/validation","set","indices","to","split","a","dataset","into","train\/validation","sets","using","random","indices",".","Parameters","--","--","--","--","--","valid_size",":","float","(","default",":","0.5",")","Proportion","of","examples","that","being","assigned","as","validation","examples",".","1-","`","valid_size","`","will","then","automatically","be","assigned","as","training","set","examples",".","random_seed",":","int","(","default",":","None",")","The","random","seed","for","splitting","the","data","into","training","and","validation","set","partitions",".","stratify",":","bool","(","default",":","False",")","True","or","False",",","whether","to","perform","a","stratified","split","or","not","Examples","--","--","--","--","--","-","For","usage","examples",",","please","see","https",":","\/\/rasbt.github.io\/mlxtend\/user_guide\/evaluate\/RandomHoldoutSplit\/"]
docstr: 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 : 1
      Returns the number of splitting iterations in the cross-validator.
      Always returns 1.
docstr_tok: ["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",":","1","Returns","the","number","of","splitting","iterations","in","the","cross-validator",".","Always","returns","1","."]
code: def get_n_splits(self, X=None, y=None, groups=None):
      """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 : 1
          Returns the number of splitting iterations in the cross-validator.
          Always returns 1.
      """
      return 1
  
file_path: mlxtend/mlxtend/evaluate/holdout.py
imports: import numpy
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 3 for calling the RandomHoldoutSplit obj's underlying member method code with example usage: obj.get_n_splits(X, y, groups) and returns: int