class_docstr: Abstract class which defines an evaluator config.
class_docstr_tok: ["Abstract","class","which","defines","an","evaluator","config","."]
docstr: :return: the maximum duration of data we would like to train the model on. ``None`` means no limit.
docstr_tok: [":","return",":","the","maximum","duration","of","data","we","would","like","to","train","the","model","on",".","``","None","``","means","no","limit","."]
code: def train_window(self) -> Union[pd.Timedelta, pd.DateOffset, None]:
      """
      :return: the maximum duration of data we would like to train the model on. ``None`` means no limit.
      """
      return self._train_window
  
imports: from abc import abstractmethod
  from typing import Any, List, Tuple, Union
  import numpy
  import pandas
  from tqdm import tqdm
  from merlion.models.base import ModelBase
  from merlion.models.forecast.base import ForecasterBase
  from merlion.utils.misc import AutodocABCMeta
  from merlion.utils.resample import granularity_str_to_seconds, to_offset
  from merlion.utils.time_series import TimeSeries
label_desc: Use image node_id 2 for calling the EvaluatorConfig obj's underlying member method code with example usage: obj.train_window() and returns: self