concepts.dm.pdsketch.regression_rule.ConditionalRegressionRuleBodyExpression#
- class ConditionalRegressionRuleBodyExpression[source]#
Bases:
object
A conditional regression rule body. For example, in the definition of a regression rule, we can have a conditional body expression like this:
ConditionalRegressionRuleBodyExpression( condition=condition, body=[ OperatorApplicationExpression(...), AchieveExpression(...), ... ] )
Methods
Attributes
The condition of the conditional regression rule body expression.
The body of the conditional regression rule body expression.
- __init__(condition, body)[source]#
- Parameters:
condition (ValueOutputExpression)
body (Sequence[AchieveExpression | BindExpression | RuntimeAssignExpression | ListExpansionExpression | RegressionCommitFlag | OperatorApplicationExpression | RegressionRuleApplicationExpression | ConditionalRegressionRuleBodyExpression | LoopRegressionRuleBodyExpression])
- __new__(**kwargs)#
- body: Tuple[AchieveExpression | BindExpression | RuntimeAssignExpression | ListExpansionExpression | RegressionCommitFlag | OperatorApplicationExpression | RegressionRuleApplicationExpression | ConditionalRegressionRuleBodyExpression | LoopRegressionRuleBodyExpression, ...]#
The body of the conditional regression rule body expression.
- condition: ValueOutputExpression#
The condition of the conditional regression rule body expression.