eqdisco.knowledge.unit_violations# eqdisco.knowledge.unit_violations(expr, units, feature_names, constants='free')[source]# Number of dimensional violations (used as a penalty by the search).