fix a small bug in evaluators.py

This commit is contained in:
WinstonLiyt
2024-07-16 15:47:04 +08:00
committed by GitHub
parent 5096af6319
commit f4e1975b3d
@@ -375,6 +375,9 @@ class FactorValueEvaluator(FactorEvaluator):
high_correlation_result = False
feedback_str = "The source dataframe and the ground truth dataframe have different index. Give up comparing the values and correlation because it's useless"
conclusions.append(feedback_str)
else:
equal_value_ratio_result = 0
high_correlation_result = False
# Combine all conclusions into a single string
conclusion_str = "\n".join(conclusions)