class_docstr: Base adapter class for StatsForecast models.
class_docstr_tok: ["Base","adapter","class","for","StatsForecast","models","."]
code: def _split_horizon(self, fh):
      in_sample_horizon = fh.to_in_sample(self.cutoff)
      out_of_sample_horizon = fh.to_out_of_sample(self.cutoff)
  
      return in_sample_horizon, out_of_sample_horizon
  
imports: from inspect import signature
  from typing import Dict
  from warnings import warn
  import pandas
  from sktime.forecasting.base import BaseForecaster
label_desc: Use image node_id 10 for calling the _GeneralisedStatsForecastAdapter obj's underlying member method code with example usage: obj._split_horizon(fh) and returns: in_sample_horizon,  out_of_sample_horizon