Fix comment in rules.py

This commit is contained in:
Aleksey Filippov 2024-11-15 10:39:49 +04:00
parent 99a4c21f6e
commit d97f465c5e

View File

@ -107,8 +107,7 @@ def get_rules(tree, feature_names) -> List[Rule]:
# if (Al2O3 <= 0.175) and (TiO2 <= 0.175) and (T > 32.5) and (TiO2 <= 0.025)
# and (Al2O3 <= 0.025) and (T > 55.0) and (T > 62.5)
# to
# if (Al2O3 <= 0.025) and (TiO2 <= 0.025) and (T > 32.5)
# if (Al2O3 <= 0.025) and (TiO2 <= 0.025) and (T > 32.5)
# if (Al2O3 <= 0.175) and (TiO2 <= 0.175) and (T > 32.5)
# max(<=)
# min(>)
def normalise_rules(rules: List[Rule]) -> List[Rule]: