class_docstr: Base class for time series cross validators
  
  Based on the scikit-learn base cross-validator with alterations to fit the
  time series interface.
class_docstr_tok: ["Base","class","for","time","series","cross","validators","Based","on","the","scikit-learn","base","cross-validator","with","alterations","to","fit","the","time","series","interface","."]
code: def __init__(self, h, step):
      if h < 1:
          raise ValueError("h must be a positive value")
      if step < 1:
          raise ValueError("step must be a positive value")
  
      self.h = h
      self.step = step
  
imports: import abc
  import numpy
  from sklearn.base import BaseEstimator
  from sklearn.utils.validation import indexable
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 1 to create a new BaseTSCrossValidator object from inherited base classes: BaseEstimator with example: obj = BaseTSCrossValidator(h, step)