class_docstr: Used to iteratively fit model on a given data splitter
class_docstr_tok: ["Used","to","iteratively","fit","model","on","a","given","data","splitter"]
code: def _set_n_splits(self):
      split_scheme = self._splitter.get_scheme()
      n_splits = len(split_scheme.keys())
      self._n_splits = n_splits
  
imports: import pandas
  import numpy
  import matplotlib.pyplot
  from copy import deepcopy
  import inspect
  from .metrics import smape, wmape, mape, mse, mae, rmsse
  from ..exceptions import BacktestException
  from ..constants.constants import TimeSeriesSplitSchemeKeys, BacktestFitKeys
  from ..constants.palette import OrbitPalette
  from orbit.utils.plot import orbit_style_decorator
label_desc: Use image node_id 5 for calling the BackTester obj's underlying member method code with example usage: obj._set_n_splits() without return types