class_docstr: Abstract base class for all data formatters.
  
  User can implement the abstract methods below to perform dataset-specific
  manipulations.
class_docstr_tok: ["Abstract","base","class","for","all","data","formatters",".","User","can","implement","the","abstract","methods","below","to","perform","dataset-specific","manipulations","."]
docstr: Gets the default number of training and validation samples.
  
  Use to sub-sample the data for network calibration and a value of -1 uses
  all available samples.
  
  Returns:
    Tuple of (training samples, validation samples)
docstr_tok: ["Gets","the","default","number","of","training","and","validation","samples",".","Use","to","sub-sample","the","data","for","network","calibration","and","a","value","of","-1","uses","all","available","samples",".","Returns",":","Tuple","of","(","training","samples",",","validation","samples",")"]
code: def get_num_samples_for_calibration(self):
      """Gets the default number of training and validation samples.
  
      Use to sub-sample the data for network calibration and a value of -1 uses
      all available samples.
  
      Returns:
        Tuple of (training samples, validation samples)
      """
      return -1, -1
  
file_path: qlib/examples/benchmarks/TFT/data_formatters/base.py
imports: import abc
  import enum
label_desc: Use image node_id 8 for calling the GenericDataFormatter obj's underlying member method code with example usage: obj.get_num_samples_for_calibration() and returns: unknown,  unknown