TabularPredictor.load_log

classmethod TabularPredictor.load_log(predictor_path: str | None = None, log_file_path: str | None = None) List[str][source]

Load log files of a predictor

Parameters:
  • predictor_path (Optional[str], default = None) – Path to the predictor to load the log. This can be used when the predictor was initialized with log_file_path=”auto” to fetch the log file automatically

  • log_file_path (Optional[str], default = None) – Path to the log file. If you specified a log_file_path while initializing the predictor, you should use log_file_path to load the log file instead. At least one of predictor_path or log_file_path must to be specified

Returns:

A list containing lines of the log file

Return type:

List[str]