concepts.pdsketch.regression_utils.ApplicableRegressionRuleItem#

class ApplicableRegressionRuleItem[source]#

Bases: NamedTuple

ApplicableRegressionRuleItem(regression_rule, bounded_variables)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

bounded_variables

Alias for field number 1

regression_rule

Alias for field number 0

__add__(value, /)#

Return self+value.

__getitem__(key, /)#

Return self[key].

__init__()#
__iter__()#

Implement iter(self).

__len__()#

Return len(self).

__mul__(value, /)#

Return self*value.

static __new__(_cls, regression_rule, bounded_variables)#

Create new instance of ApplicableRegressionRuleItem(regression_rule, bounded_variables)

Parameters:
count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

bounded_variables: None | Sequence[Variable] | Dict[str | Variable, str | int | slice | bool | float | Tensor | TensorValue | ObjectConstant | StateObjectReference] | Dict[str, Dict[str, StateObjectReference | slice | TensorValue]]#

Alias for field number 1

regression_rule: RegressionRule#

Alias for field number 0