validate_results_file¶
- tsml_eval.utils.results_validation.validate_results_file(file_path)[source]¶
Validate that a results file is in the correct format.
Validates that the first, second, third and results lines follow the expected format. This does not verify that the actual contents of the results file make sense.
Works for classification, regression and clustering results files.
- Parameters:
- file_pathstr
Path to the results file to be validated, including the file itself.
- Returns:
- valid_filebool
True if the results file is valid, False otherwise.