def __init__(
        self,
        models: List[Any],
        freq: Union[str, int],
        n_jobs: int = 1,
        fallback_model: Optional[Any] = None,
        verbose: bool = False,
    ):
        """Train statistical models.

        Parameters
        ----------
        {models}
        {freq}
        {n_jobs}
        {df}
        {fallback_model}
        {verbose}
        """
        # TODO @fede: needed for residuals, think about it later
        self.models = models
        self._validate_model_names()
        self.freq = freq
        self.n_jobs = n_jobs
        self.fallback_model = fallback_model
        self.verbose = verbose
Train statistical models.

        Parameters
        ----------
        {models}
        {freq}
        {n_jobs}
        {df}
        {fallback_model}
        {verbose}
        
python/statsforecast/core.py