concepts.dm.pdsketch.regression_utils.ground_regression_application_expression#
- ground_regression_application_expression(expression, variable_mapping, csp=None)[source]#
- Ground the given regression application expression with the given variable mapping. - Parameters:
- expression (RegressionRuleApplicationExpression) – the expression to ground. 
- variable_mapping (Dict[Variable, str]) – the variable mapping, which is a mapping from the Variable object to the constant name. 
- csp (ConstraintSatisfactionProblem | None) – the constraint satisfaction problem to add the constraints to. 
 
- Returns:
- the grounded expression. 
- Return type: