Skip to content

RejectRule

Source code in docs_src/capo_datazone/types/reject_rule.py
class RejectRule(TypedDict, closed=True):
    rule: NotRequired["capo_datazone.types.reject_rule_behavior.RejectRuleBehavior"]
    """<p>Specifies whether you want to reject the top prediction for all targets or none.</p>"""
    threshold: NotRequired["float"]
    """<p>The confidence score that specifies the condition at which a prediction can be rejected.</p>"""

rule instance-attribute

rule: NotRequired[RejectRuleBehavior]

Specifies whether you want to reject the top prediction for all targets or none.

threshold instance-attribute

threshold: NotRequired[float]

The confidence score that specifies the condition at which a prediction can be rejected.