load_forecaster_results

tsml_eval.evaluation.storage.load_forecaster_results(file_path, calculate_stats=True, verify_values=True)[source]

Load and return forecaster results from a specified file.

This function reads a file containing forecaster results and reconstructs the ForecasterResults object. It optionally calculates performance statistics and verifies values based on the loaded data.

Parameters:
file_pathstr

The path to the file from which forecaster results should be loaded. The file should be a tsml formatted forecaster results file.

calculate_statsbool, default=True

Whether to calculate performance statistics from the loaded results.

verify_valuesbool, default=True

If the function should perform verification of the loaded values.

Returns:
frForecasterResults

A ForecasterResults object containing the results loaded from the file.