revscoring.features.modifiers

Modifiers provide convenient mechanisms for modifying and combining revscoring.Feature and constant values into new revscoring.Feature.

revscoring.features.modifiers.log(feature, name=None)

Generates a feature that represents the log of a revscoring.Feature‘s value.


revscoring.features.modifiers.min(*args, name=None)

Generates a feature that represents the minimum of a set of revscoring.Feature or constant values.

revscoring.features.modifiers.max(*args, name=None)

Generates a feature that represents the maximum of a set of revscoring.Feature or constant values.


revscoring.features.modifiers.add(left, right, returns=None, name=None)

Generates a feature that represents the addition of two revscoring.Feature or constant values.

revscoring.features.modifiers.sub(left, right, returns=None, name=None)

Generates a feature that represents the subtraction of two revscoring.Feature or constant values.

revscoring.features.modifiers.mul(left, right, returns=None, name=None)

Generates a feature that represents the multiplacation of two revscoring.Feature or constant values.

revscoring.features.modifiers.div(left, right, name=None)

Generates a feature that represents the division of two revscoring.Feature or constant values.


revscoring.features.modifiers.eq(left, right, name=None)

Generates a feature that represents the equality of two revscoring.Feature or constant values.

revscoring.features.modifiers.ne(left, right, name=None)

Generates a feature that represents the inequality of two revscoring.Feature or constant values.

revscoring.features.modifiers.gt(left, right, name=None)

Generates a feature that represents the greater-than relationship of two revscoring.Feature or constant values.

revscoring.features.modifiers.lt(left, right, name=None)

Generates a feature that represents the less-than relationship of two revscoring.Feature or constant values.

revscoring.features.modifiers.ge(left, right, name=None)

Generates a feature that represents the greater-than-or-equal relationship of two revscoring.Feature or constant values.

revscoring.features.modifiers.le(left, right, name=None)

Generates a feature that represents the less-than-or-equal relationship of two revscoring.Feature or constant values.

Revision Scoring

Navigation

Related Topics