compare_result_file_resample

tsml_eval.utils.results_validation.compare_result_file_resample(file_path1, file_path2)[source]

Validate that two results files use the same data resample.

Files are deemed as having the same resample if the file length is the same and all true label values are the same in both files.

Parameters:
file_path1str

Path to the first results file to be compared, including the file itself.

file_path1str

Path to the second results file to be compared, including the file itself.

Returns:
same_resamplebool

True if the results file use the same data resample, False otherwise.